[FIX] membership: Adapt customer and supplier filters

The fieds `customer` and `supplier` no longer exist
since 3e97cff.

But 9a0fedf re-introduced filters using those fields,
probably when rebasing the branch.

closes odoo/odoo#36165

Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
This commit is contained in:
Lucas Lefèvre
2019-08-28 08:37:07 +00:00
parent 4f27e52cab
commit a5d42ff6d9
+2 -2
View File
@@ -29,8 +29,8 @@
<field name="category_id"/>
<field name="membership_start" invisible="1"/>
<field name="membership_stop" string="End Membership Date"/>
<filter name="customer" string="Customers" domain="[('customer' ,'=', True)]"/>
<filter name="supplier" string="Vendors" domain="[('supplier', '=', True)]"/>
<filter name="customer" string="Customers" domain="[('customer_rank' ,'>', 0)]"/>
<filter name="supplier" string="Vendors" domain="[('supplier_rank', '>', 0)]"/>
<separator/>
<filter name="all_members" string="Members" domain="[('membership_state', 'in', ['invoiced', 'paid', 'free'])]" help="Invoiced/Paid/Free"/>
<separator/>