This question has been flagged
1 Reply
3000 Views

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)"/>
Avatar
Discard
Best Answer

not possible. you must create a function that will make the 2 calls

Avatar
Discard

Or, override the method adding the second function and return to the first one.

Author

That's what I thought. Thank you