|
@ -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') |
|
|