Browse Source

Set some fields as tranlate

pull/226/head
Antonio Espinosa 10 years ago
committed by Jairo Llopis
parent
commit
3b4322b8de
  1. 2
      crm_job_position/models/crm_job_position.py

2
crm_job_position/models/crm_job_position.py

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

Loading…
Cancel
Save