Browse Source

Set some fields as tranlate

pull/225/head
Antonio Espinosa 10 years ago
committed by Jairo Llopis
parent
commit
185f429f2a
  1. 2
      crm_employees/models/crm_employees_range.py

2
crm_employees/models/crm_employees_range.py

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

Loading…
Cancel
Save