summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonardo Donelli <learts92@gmail.com>2014-10-02 15:31:08 +0200
committerXavier Morel <xmo@openerp.com>2014-11-03 15:46:55 +0100
commitfb6892f8577087c1902c2a85dfc8badeac98aafa (patch)
treeb7ec9242ad4459b21bcdb5395d15b2d0bf4f6753
parenta332dec4c2b422db58ff08f6ee212c438ad7ab25 (diff)
[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
-rw-r--r--addons/purchase/purchase_view.xml3
1 files changed, 0 insertions, 3 deletions
diff --git a/addons/purchase/purchase_view.xml b/addons/purchase/purchase_view.xml
index e1fce87dc8a..d22c0c1448a 100644
--- a/addons/purchase/purchase_view.xml
+++ b/addons/purchase/purchase_view.xml
@@ -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>