[FIX] fleet : duplication in filter

Observed Behavior:

Open Vehicles > Contracts and going to use the filter,
there are two filters with the same name 'Archived'

This commit solves this issue and we have only one filter named 'Archived'

task - 2413755

closes odoo/odoo#64175

X-original-commit: 1ecc79992cf9842777883c7ea4ba8f477fea7b0f
Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
This commit is contained in:
Urvi Soni
2021-01-06 19:06:13 +00:00
parent 81180146b7
commit 1877079c3b
@@ -139,7 +139,6 @@
<field name="vehicle_id" string="Vehicle" filter_domain="[('vehicle_id.name','ilike', self)]"/>
<field name="purchaser_id" string="Driver" filter_domain="[('purchaser_id','child_of', self)]"/>
<field name="insurer_id" string="Vendor" filter_domain="[('insurer_id','child_of', self)]"/>
<filter string="Archived" name="inactive" domain="[('active','=',False)]"/>
<filter string="In Progress" name="open" domain="[('state', '=', 'open')]"/>
<filter string="Expired" name="expired" domain="[('state', '=', 'expired')]"/>
<separator/>