|
|
@ -87,13 +87,13 @@ |
|
|
|
<field name="model">res.partner</field> |
|
|
|
<field name="inherit_id" ref="base.view_res_partner_filter"/> |
|
|
|
<field name="arch" type="xml"> |
|
|
|
<xpath expr="//filter[@name='supplier']" position='after'> |
|
|
|
<filter name="supplier" position='after'> |
|
|
|
<filter string="Cooperators" name="cooperators" domain="[('member','=',1)]" help="Cooperator Partners"/> |
|
|
|
<filter string="Old Cooperators" name="old_cooperators" domain="[('old_member','=',1)]" help="Cooperator Partners"/> |
|
|
|
<filter string="Cooperator Candidates" name="cooperator_candidates" domain="[('coop_candidate','=',1)]" help="Cooperator Partners"/> |
|
|
|
</xpath> |
|
|
|
</filter> |
|
|
|
<filter name="salesperson" position="before"> |
|
|
|
<filter name="Cooperator Type" context="{'group_by': 'cooperator_type'}"/> |
|
|
|
<filter string="Cooperator Type" name="group_by_cooperator_type" context="{'group_by': 'cooperator_type'}"/> |
|
|
|
</filter> |
|
|
|
</field> |
|
|
|
</record> |
|
|
|