From 185f429f2a4309addf446fb382434e1a0ecafb9a Mon Sep 17 00:00:00 2001 From: Antonio Espinosa Date: Fri, 27 Mar 2015 12:53:53 +0100 Subject: [PATCH] Set some fields as tranlate --- crm_employees/models/crm_employees_range.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crm_employees/models/crm_employees_range.py b/crm_employees/models/crm_employees_range.py index 5610c1dd7..d8912f0b5 100644 --- a/crm_employees/models/crm_employees_range.py +++ b/crm_employees/models/crm_employees_range.py @@ -12,7 +12,7 @@ class CrmEmployeesRange(models.Model): _parent_store = True _description = "Employees range" - name = fields.Char(required=True) + name = fields.Char(required=True, translate=True) parent_id = fields.Many2one(comodel_name='crm.employees_range') children = fields.One2many(comodel_name='crm.employees_range', inverse_name='parent_id')