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'>
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
|Asked: 4/13/16, 4:19 AM|
|Seen: 369 times|
|Last updated: 4/17/16, 5:42 PM|