I was wondering if there is a way to run more than one on_change method for a field? when I write something like this then I get an error
<field name="product_version_id" on_change="on_change_test1(id), on_change_test2(id2)"/>
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
I was wondering if there is a way to run more than one on_change method for a field? when I write something like this then I get an error
<field name="product_version_id" on_change="on_change_test1(id), on_change_test2(id2)"/>
not possible. you must create a function that will make the 2 calls
Or, override the method adding the second function and return to the first one.
That's what I thought. Thank you