mirror of
https://gitlab.com/flectra-community/partner-contact.git
synced 2024-11-15 02:32:04 +00:00
29 lines
1.1 KiB
XML
29 lines
1.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<flectra>
|
|
|
|
<record id="view_res_partner_filter" model="ir.ui.view">
|
|
<field name="inherit_id" ref="base.view_res_partner_filter" />
|
|
<field name="model">res.partner</field>
|
|
<field type="xml" name="arch">
|
|
<filter name="type_person" position="before">
|
|
<filter
|
|
string="All partners"
|
|
name="type_contact"
|
|
domain="['|',('is_company','=',1),('type','=','contact')]"
|
|
/>
|
|
</filter>
|
|
<!-- Default type_person also contains invoice and delivery
|
|
addresses for companies (and persons). -->
|
|
<filter name="type_person" position="attributes">
|
|
<attribute
|
|
name="domain"
|
|
>[('is_company','=',0),('type','=','contact')]</attribute>
|
|
</filter>
|
|
<filter name="type_company" position="attributes">
|
|
<attribute name="string">Organisations</attribute>
|
|
</filter>
|
|
</field>
|
|
</record>
|
|
|
|
</flectra>
|