This question has been flagged
1 Reply
1938 Views

 

Hi guys!!!!

Please, i want to know when the function on_change is called in Odoo 8?

Thanks a lot in advance


Avatar
Discard
Best Answer

Hello,

In Odoo 8 you define onchange using this

@api.onchange('field name')

So whenever any change happen in field that time onchange will call.

Avatar
Discard
Author

Thanks a lot for the answer. But, the problem is that with my on_change function it will be functional when i press the button Create. How can i resolve it please??

Sorry but didn't get you. :(