[IMP] product: change string of field 'name_template'

bzr revid: cha@tinyerp.com-20130311111116-a2msikzcx8t1fhtj
This commit is contained in:
Ajay Chauhan (OpenERP) 2013-03-11 16:41:16 +05:30
parent c867cb5acc
commit 6491fd0bdc
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="Product Template Name", 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",