From 34e94a3dc027f04277c7efa7d437f891d206af0f Mon Sep 17 00:00:00 2001 From: Fabien Pinckaers Date: Mon, 8 Aug 2022 12:20:47 +0000 Subject: [PATCH] [FIX] product: template should be transaltable, introduced by rev 68e7c0de165c00 closes odoo/odoo#97707 Signed-off-by: Fabien Pinckaers --- addons/product/models/product_template.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/product/models/product_template.py b/addons/product/models/product_template.py index 1539440a67e..572952c303e 100644 --- a/addons/product/models/product_template.py +++ b/addons/product/models/product_template.py @@ -34,7 +34,7 @@ class ProductTemplate(models.Model): category_ids = categories._search([], order=order, access_rights_uid=SUPERUSER_ID) return categories.browse(category_ids) - name = fields.Char('Name', index='trigram', required=True) + name = fields.Char('Name', index='trigram', required=True, translate=True) sequence = fields.Integer('Sequence', default=1, help='Gives the sequence order when displaying a product list') description = fields.Html( 'Description', translate=True)