From af2107328570c976850a3859343e9e006caee6e1 Mon Sep 17 00:00:00 2001 From: Martin Trigaux Date: Mon, 3 Nov 2014 15:59:17 +0100 Subject: [PATCH] [IMP] product: search on internal reference When searching on the name of a product.template, search also on the default_code. Move the filter from product.product to product.template. The field default_code is on the product.product but accessible through a related field, meaning when reading it will fetch only the first variant but searching on all variants. Fixes #3399 --- addons/product/product_view.xml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/addons/product/product_view.xml b/addons/product/product_view.xml index d2c1633..0f03ff5 100644 --- a/addons/product/product_view.xml +++ b/addons/product/product_view.xml @@ -10,7 +10,7 @@ product.template - + @@ -150,9 +150,6 @@ primary - - - -- 1.7.10.4