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 would like to add the value of a field from a custom module to an existing view.
class MyClass()in the xml file=
my_var = fields.Char()
<record from different module>to point to the value in my module?What do I need to add to the <field...> to point to the value in my module? What do I need to add to the
Please read the documentation and the tutorial...
All is explained...
take a look here: https://www.odoo.com/documentation/9.0/howtos/backend.html#view-inheritance
so in your case:
<field name='inherit_id' ref='other_module.xml_id'
<field name='field_name_from_other_module' position='after'>
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: 4/13/16, 4:19 AM|
|Seen: 620 times|
|Last updated: 4/17/16, 5:42 PM|