Odoo Help


More than one onchange method for a field?

on 3/14/14, 3:17 PM 1,174 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)"/>

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.

Ray Carnes
on 3/14/14, 4:18 PM

That's what I thought. Thank you

on 3/14/14, 5:37 PM

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

0 follower(s)


Asked: 3/14/14, 3:17 PM
Seen: 1174 times
Last updated: 6/23/15, 8:14 AM