partner-contact/partner_multi_relation_tabs/demo/res_partner_tab_demo.xml

35 lines
1.2 KiB
XML
Raw Permalink Normal View History

2021-03-23 19:36:29 +00:00
<?xml version="1.0" encoding="UTF-8"?>
<flectra>
<record id="tab_committee" model="res.partner.tab">
<field name="code">committee</field>
<field name="name">Government committee</field>
<field name="contact_type">c</field>
<field name="partner_category_id" ref="category_government" />
</record>
<record id="tab_board" model="res.partner.tab">
<field name="code">board</field>
<field name="name">Company executive board</field>
<field name="contact_type">c</field>
</record>
<record id="tab_positions" model="res.partner.tab">
<field name="code">positions</field>
<field name="name">Positions held</field>
<field name="contact_type">p</field>
<field name="partner_category_id" ref="category_functionary" />
</record>
<!-- Tab that will only be shown on our own main company partner. -->
<record id="tab_departments" model="res.partner.tab">
<field name="code">departments</field>
<field name="name">Our departments</field>
<field
name="partner_ids"
eval="[(6,0,[ref('base.main_partner')])]"
/>
</record>
</flectra>