Odoo: Add a field to kanban view of CRM using inheritance
$10-11 USD
Ukończony
Opublikowano prawie 3 lata temu
$10-11 USD
Płatne przy odbiorze
I would like to add the country of the lead to the Kanban View of the CRM model in Odoo Community edition V14 using inheritance.
This is my code but it's not working.
<record id="crm_lead_view_kanban_inherit" model="[login to view URL]">
<field name="name">[login to view URL]</field>
<field name="model">[login to view URL]</field>
<field name="inherit_id" ref="crm.crm_case_kanban_view_leads"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='tag_ids']" position="before">
<field name="country_id" />
</xpath>
</field>
</record>