콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
6906 화면

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
2217
1
3월 15
12435
2
11월 22
10806
4
10월 15
9685
3
9월 15
6436