Browse Source

Set some fields as tranlate

pull/224/head
Antonio Espinosa 10 years ago
committed by Jairo Llopis
parent
commit
d9447b070e
  1. 2
      crm_capital/models/crm_turnover_range.py

2
crm_capital/models/crm_turnover_range.py

@ -12,7 +12,7 @@ class CrmTurnoverRange(models.Model):
_parent_store = True _parent_store = True
_description = "Turnover range" _description = "Turnover range"
name = fields.Char(required=True)
name = fields.Char(required=True, translate=True)
parent_id = fields.Many2one(comodel_name='crm.turnover_range') parent_id = fields.Many2one(comodel_name='crm.turnover_range')
children = fields.One2many(comodel_name='crm.turnover_range', children = fields.One2many(comodel_name='crm.turnover_range',
inverse_name='parent_id') inverse_name='parent_id')

Loading…
Cancel
Save