跳至內容
選單
此問題已被標幟
1 回覆
6676 瀏覽次數

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

頭像
捨棄
作者

Thank you Sunny for helping. It works!

最佳答案

Hi Nelson,


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


Thanks & Regards,

Sunny Sheth

頭像
捨棄

<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>

相關帖文 回覆 瀏覽次數 活動
4
8月 24
1975
1
3月 15
12227
2
11月 22
10242
4
10月 15
9501
3
9月 15
6264