+3 votes
16 views

I Use odoo 10 and want to change pivot_view.js, I'm really confused with this code. I can't change the value. Can you explain me about the right code ? This is my code :

    var value = false;
    new Model('lhp.master').call('getValues', ['date', 'idx']).then(
       function (result) { value = result[0];  }
    );
    console.log('value =',value);

Thank you for your help.

in Back-end by (10k points) | 16 views

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
173 questions
150 answers
30 comments
16,831 users