[FIX] Remove duplicate "Can be purchased" filter.
Duplicate product filter "To Purchase" and "Can be Purchased". Same search criteria and same name, so removing one doesn't affect people who were referencing it (e.g. with search_default_* key in context). Left the one named "Can be Purchased" because consistent with the equivalent sale filter "Can be Sold". Fixes #2718, closes #2864
This commit is contained in:
parent
a332dec4c2
commit
fb6892f857
|
@ -599,9 +599,6 @@
|
|||
<field name="model">product.template</field>
|
||||
<field name="inherit_id" ref="product.product_template_search_view"/>
|
||||
<field name="arch" type="xml">
|
||||
<filter name="filter_to_sell" position="before">
|
||||
<filter name="filter_to_purchase" string="To Purchase" icon="terp-accessories-archiver+" domain="[('purchase_ok', '=', 1)]"/>
|
||||
</filter>
|
||||
<filter name="filter_to_sell" position="after">
|
||||
<filter name="filter_to_purchase" string="Can be Purchased" icon="terp-accessories-archiver+" domain="[('purchase_ok', '=', 1)]"/>
|
||||
</filter>
|
||||
|
|
Loading…
Reference in New Issue