Browse Source

[IMP] name group_by_cooperator_type and filter def consistency

pull/51/head^2
robin.keunen 5 years ago
parent
commit
70a50258d5
  1. 6
      easy_my_coop/views/res_partner_view.xml

6
easy_my_coop/views/res_partner_view.xml

@ -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>

Loading…
Cancel
Save