|
|
@ -1,4 +1,4 @@ |
|
|
|
<?xml version="1.0"?> |
|
|
|
<?xml version="1.0" encoding="utf-8"?> |
|
|
|
<openerp> |
|
|
|
<data> |
|
|
|
|
|
|
@ -16,5 +16,18 @@ |
|
|
|
</field> |
|
|
|
</record> |
|
|
|
|
|
|
|
<record model="ir.ui.view" id="view_res_partner_filter_employees"> |
|
|
|
<field name="name">Partner search with employees</field> |
|
|
|
<field name="model">res.partner</field> |
|
|
|
<field name="inherit_id" ref="base.view_res_partner_filter"/> |
|
|
|
<field name="arch" type="xml"> |
|
|
|
<filter string="Salesperson" position="after"> |
|
|
|
<filter string="Emplooyees" |
|
|
|
domain="[('is_company','=', True)]" |
|
|
|
context="{'group_by': 'employees_range'}"/> |
|
|
|
</filter> |
|
|
|
</field> |
|
|
|
</record> |
|
|
|
|
|
|
|
</data> |
|
|
|
</openerp> |