From 197a10f53db0df472305ae3e61a0cb0f853d0eb6 Mon Sep 17 00:00:00 2001 From: "kirti savalia (OpenERP)" Date: Mon, 21 Jan 2013 17:01:47 +0530 Subject: [PATCH] [FIX]:When apply advance search confusing with the name field because one is name and another is name template so change in the string for the template bzr revid: ksa@tinyerp.com-20130121113147-8cef58mtkeolxpkk --- addons/product/product.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/product/product.py b/addons/product/product.py index 1cacb58df23..1a259ed4c0a 100644 --- a/addons/product/product.py +++ b/addons/product/product.py @@ -554,7 +554,7 @@ class product_product(osv.osv): 'price_extra': fields.float('Variant Price Extra', digits_compute=dp.get_precision('Product Price')), 'price_margin': fields.float('Variant Price Margin', digits_compute=dp.get_precision('Product Price')), 'pricelist_id': fields.dummy(string='Pricelist', relation='product.pricelist', type='many2one'), - 'name_template': fields.related('product_tmpl_id', 'name', string="Name", type='char', size=128, store=True, select=True), + 'name_template': fields.related('product_tmpl_id', 'name', string="Name Template", type='char', size=128, store=True, select=True), 'color': fields.integer('Color Index'), # image: all image fields are base64 encoded and PIL-supported 'image': fields.binary("Image",