Odoo Help


When is the function "On_change" called in odoo 8?

Vale Trood
on 7/21/15, 11:02 AM 734 views


Hi guys!!!!

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

Thanks a lot in advance


Solanki Shamji

--Solanki Shamji--

| 5 2 7
Baroda, India
--Solanki Shamji--


Solanki Shamji
On 7/21/15, 11:13 AM


In Odoo 8 you define onchange using this

@api.onchange('field name')

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

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??

Vale Trood
on 7/21/15, 4:45 PM

Sorry but didn't get you. :(

Solanki Shamji
on 7/22/15, 2:08 AM

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 7/21/15, 11:02 AM
Seen: 734 times
Last updated: 7/28/15, 9:43 AM