[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
This commit is contained in:
kirti savalia (OpenERP) 2013-01-21 17:01:47 +05:30
parent 48733540e1
commit 197a10f53d
1 changed files with 1 additions and 1 deletions

View File

@ -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",