Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
6836 มุมมอง

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>

Related Posts ตอบกลับ มุมมอง กิจกรรม
Problem with kanban View แก้ไขแล้ว
4
ส.ค. 24
2119
1
มี.ค. 15
12378
2
พ.ย. 22
10575
4
ต.ค. 15
9640
3
ก.ย. 15
6362