There are fields like campaign_id
which i would like to hide, or append some other fields after them:
But all my expression get fully ignored:
like...
<xpath expr="//field[@name='campaign_id']" position="attributes">
<attribute name="invisible">True</attribute>
</xpath>
...or...
<field name="campaign_id" invisible="1" />
Other expressions in the same xml file will be correctly evaluated.
There are no errors printed or shown.
This is the inherid_id
and more:
<odoo>
<record id="crm_lead_view_form" model="ir.ui.view">
<field name="name">crm.lead.inherit.view.form</field>
<field name="model">crm.lead</field>
<field name="inherit_id" ref="crm.crm_lead_view_form"/>
<field name="arch" type="xml">
Dont know if it's related: It seems that the campaign_id
field is an merged field from crm_lead.py
.
Maybe someone can lift the (for me) unknown 'magic' which prevents edit / hide / append after / ... the merged field campaign_id
?