Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
6733 Lượt xem

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

Ảnh đại diện
Huỷ bỏ
Tác giả

Thank you Sunny for helping. It works!

Câu trả lời hay nhất

Hi Nelson,


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


Thanks & Regards,

Sunny Sheth

Ảnh đại diện
Huỷ bỏ

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

Bài viết liên quan Trả lời Lượt xem Hoạt động
4
thg 8 24
2051
1
thg 3 15
12268
2
thg 11 22
10389
4
thg 10 15
9577
3
thg 9 15
6301