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 am wondering if there is any way I can create a field which will hold the content from my foods and combos models?
I want to give the user the possibility to either select a food or a combo from the same menu, and then wring up the nutritional data for whatever was selected, but I am stuck because I don't know how to populate a field with data from 2 separate models.
Any tip will be appreciated,
add a field selection with values combo and foods
2 fields many2one with relation foods and combo
a field function that display the nutritial value
an onchange on field selection depending the 2 many2one fields with return False to the non selected many2one and become invisible.
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: 3/15/15, 9:31 PM|
|Seen: 1132 times|
|Last updated: 3/18/15, 10:23 PM|