Odoo Help


How to onchange m2o and o2m?

babis peroukas
on 11/9/13, 7:15 AM 1,278 views


I have 2 fields: 1: example_m2o (many to one) - which selects values from model op.standard. And 2: example_o2m (one to many). I want to create an onchange function so when I change the example_m2o filed (with its standard_id) then the example_o2m filed gets filled with the lines that belong to the current standard_id.

Any suggestions?

Thank you

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: 11/9/13, 7:15 AM
Seen: 1278 times
Last updated: 3/16/15, 8:10 AM