diff --git a/product_usability/product_view.xml b/product_usability/product_view.xml index f004ffe..bd25365 100644 --- a/product_usability/product_view.xml +++ b/product_usability/product_view.xml @@ -89,6 +89,29 @@ + + + product_usability.product.template.search + product.template + + + + ['|', '|', ('name', 'ilike', self), ('default_code', 'ilike', self), ('ean13', '=', self)] + + + + + + + product_usability.product.search + product.product + + + + ['|', '|', ('name', 'ilike', self), ('default_code', 'ilike', self), ('ean13', '=', self)] + + + diff --git a/sale_purchase_no_product_template_menu/__openerp__.py b/sale_purchase_no_product_template_menu/__openerp__.py index 3496c7c..23810e6 100644 --- a/sale_purchase_no_product_template_menu/__openerp__.py +++ b/sale_purchase_no_product_template_menu/__openerp__.py @@ -31,7 +31,7 @@ Sale Purchase No Product Template ================================= -This module replaces the menu entries for product.template by menu entries for product.product in the *Sales*, *Purchases* and *Warehouse* menu entry. The only remaining menu entry for product.template is in the menu *Sales > Configuration > Product Categories and Attributes*. +This module replaces the menu entries for product.template by menu entries for product.product in the *Sales*, *Purchases* and *Warehouse* menu entry. With this module, the only menu entry for product.template is in the menu *Sales > Configuration > Product Categories and Attributes*. This module also switches to the tree view by default for Product menu entries, instead of the kanban view.