Odoo Help

1

More than one onchange method for a field?

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

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.

Bista Solutions US, Ray Carnes
on 3/14/14, 4:18 PM

That's what I thought. Thank you

Eric
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.

Register

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)

Stats

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