+3 votes

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 (10.5k points) | 27 views

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
202 questions
179 answers
164,209 users