product_no_translation : translate=False now on all fields declared in addons/product/product.py

This commit is contained in:
Alexis de Lattre
2015-01-09 00:30:03 +01:00
committed by Sébastien BEAU
parent ca10381be8
commit d0d65ebbca

View File

@@ -30,3 +30,39 @@ class ProductTemplate(models.Model):
description_purchase = fields.Text(translate=False) description_purchase = fields.Text(translate=False)
description = fields.Text(translate=False) description = fields.Text(translate=False)
name = fields.Char(translate=False) name = fields.Char(translate=False)
class ProductCategory(models.Model):
_inherit = "product.category"
name = fields.Char(translate=False)
class ProductAttribute(models.Model):
_inherit = "product.attribute"
name = fields.Char(translate=False)
class ProductAttributeValue(models.Model):
_inherit = "product.attribute.value"
name = fields.Char(translate=False)
class ProductUomCateg(models.Model):
_inherit = 'product.uom.categ'
name = fields.Char(translate=False)
class ProductUom(models.Model):
_inherit = 'product.uom'
name = fields.Char(translate=False)
class ProductUl(models.Model):
_inherit = 'product.ul'
name = fields.Char(translate=False)