diff --git a/crm_employees/models/crm_employees_range.py b/crm_employees/models/crm_employees_range.py index d8912f0b5..0703e83b0 100644 --- a/crm_employees/models/crm_employees_range.py +++ b/crm_employees/models/crm_employees_range.py @@ -7,14 +7,6 @@ from openerp import models, fields class CrmEmployeesRange(models.Model): _name = 'crm.employees_range' - _order = "parent_left" - _parent_order = "name" - _parent_store = True _description = "Employees range" name = fields.Char(required=True, translate=True) - parent_id = fields.Many2one(comodel_name='crm.employees_range') - children = fields.One2many(comodel_name='crm.employees_range', - inverse_name='parent_id') - parent_left = fields.Integer('Parent Left', select=True) - parent_right = fields.Integer('Parent Right', select=True) diff --git a/crm_employees/views/crm_employees_range_view.xml b/crm_employees/views/crm_employees_range_view.xml index 87fda272b..efe3d1671 100644 --- a/crm_employees/views/crm_employees_range_view.xml +++ b/crm_employees/views/crm_employees_range_view.xml @@ -15,7 +15,6 @@ -