Better naming for column template on product

This commit is contained in:
Cédric Krier committed 2008-05-28 13:42:15 +02:00
1 parent e574d25147
commit c457764d4b
1 file changed
+2 -2
+2 -2
View File
@@ -69,9 +69,9 @@ class Product(OSV):
"Product"
_name = "product.product"
_description = __doc__
_inherits = {'product.template': 'product_template'}
_inherits = {'product.template': 'template'}
product_template = fields.Many2One('product.template', 'Product Template',
template = fields.Many2One('product.template', 'Product Template',
required=True)
code = fields.Char("Code", size=None)
description = fields.Text("Description", translate=True)