Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I need to make a relationship between two objects , when one of these objects therefore selected me bring this selected object attributes . A clear example would be: In the relationship between Bill and Customer ( Many2one ) , when in the form of invoice I select the client to which you want to bill me automatically bring the address is loaded cliente.
You need to use onchange for the many2one field of client on the invoice form. You may refer sale.py and sale_view.xml in the sale module to see how onchange is defined for Customer or partner_id field. You want to have the similar thing in invoice right?. Take a look at it n if you have some doubts I can help 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.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 10/21/15, 8:50 AM|
|Seen: 597 times|
|Last updated: 10/22/15, 12:25 AM|