flectra/addons/base_setup/views/res_partner_views.xml
2018-01-16 02:34:37 -08:00

17 lines
783 B
XML

<?xml version="1.0" encoding="utf-8"?>
<flectra>
<!-- Add partner categories in partner kanban view -->
<record id="res_partner_kanban_view" model="ir.ui.view">
<field name="name">res.partner.kanban.inherit</field>
<field name="model">res.partner</field>
<field name="inherit_id" ref="base.res_partner_kanban_view"/>
<field name="arch" type="xml">
<xpath expr="//div[hasclass('oe_kanban_partner_categories')]" position="inside">
<span class="oe_kanban_list_many2many">
<field name="category_id" widget="many2many_tags" options="{'color_field': 'color'}"/>
</span>
</xpath>
</field>
</record>
</flectra>