From d9447b070e655126bc143cbe817ed727e3794352 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_capital/models/crm_turnover_range.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crm_capital/models/crm_turnover_range.py b/crm_capital/models/crm_turnover_range.py index 875496abf..5df06607b 100644 --- a/crm_capital/models/crm_turnover_range.py +++ b/crm_capital/models/crm_turnover_range.py @@ -12,7 +12,7 @@ class CrmTurnoverRange(models.Model): _parent_store = True _description = "Turnover range" - name = fields.Char(required=True) + name = fields.Char(required=True, translate=True) parent_id = fields.Many2one(comodel_name='crm.turnover_range') children = fields.One2many(comodel_name='crm.turnover_range', inverse_name='parent_id')