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.

0

How to onchange m2o and o2m?

By
babis peroukas
on 11/9/13, 7:15 AM 846 views

Hello,

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

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