Odoo Help

Welcome!

This community 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.

1

More than one onchange method for a field?

By
Eric
on 3/14/14, 3:17 PM 804 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

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)

Stats

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