Browse Source

Set some fields as tranlate

pull/229/head
Antonio Espinosa 10 years ago
committed by Jairo Llopis
parent
commit
766b8564f5
  1. 2
      crm_department/models/crm_department.py

2
crm_department/models/crm_department.py

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

Loading…
Cancel
Save