Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
6707 Prikazi

Hi, I am trying to add a field to the CRM Kanban view in Odoo Community Edition V14, but the field does not show in the Kanban view. In my case I want to add the country of the lead to the view (country_id), after the name(partner_id) or before the tags (tag_ids).



Any help will be appreciate it.


Thank you

Avatar
Opusti
Avtor

Thank you Sunny for helping. It works!

Best Answer

Hi Nelson,


You can achieve by below code for display country_id field by a custom module


Thanks & Regards,

Sunny Sheth

Avatar
Opusti

<record id="crm_iap_opportunity_kanban_inehrit" model="ir.ui.view">

<field name="name">crm.opportunity.inherited.kanban.inehrit</field>

<field name="model">crm.lead</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>

Related Posts Odgovori Prikazi Aktivnost
4
avg. 24
2001
1
mar. 15
12249
2
nov. 22
10321
4
okt. 15
9538
3
sep. 15
6282