I created a new field and tried to add it on a new page inside a notebook via view inheritance - it doesn't work - can you take a look at my XML?
When I attempt to add a field to the CRM module it is not showing on the page.
XML, as seen on odoo:
Result on the page:
<field name="inherit_id" ref="base.view_partner_form"/>
<field name="arch" type="xml">
<xpath expr="//notebook/page[@string="Internal Notes"]" position="after">
from openerp import models, fields, api
_name = 'module_crm.module_crm'
_inherit = 'res.partner'
test123 = fields.Char("test123", invisible=False)
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/14/16, 11:24 PM|
|Seen: 506 times|
|Last updated: 4/15/16, 2:31 AM|