Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
6829 Näkymät

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
Hylkää
Tekijä

Thank you Sunny for helping. It works!

Paras vastaus

Hi Nelson,


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


Thanks & Regards,

Sunny Sheth

Avatar
Hylkää

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

Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
4
elok. 24
2114
1
maalisk. 15
12376
2
marrask. 22
10561
4
lokak. 15
9634
3
syysk. 15
6357