From 951eebb26c5f41200cbea54c09c9651626df19d4 Mon Sep 17 00:00:00 2001 From: Yannick Tivisse Date: Thu, 3 May 2018 11:04:59 +0200 Subject: [PATCH] [IMP] hr_contract: Rename 'Contract Type' into 'Employee Category' --- addons/hr_contract/models/hr_contract.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/hr_contract/models/hr_contract.py b/addons/hr_contract/models/hr_contract.py index ac6f8722290..751b9bca002 100644 --- a/addons/hr_contract/models/hr_contract.py +++ b/addons/hr_contract/models/hr_contract.py @@ -56,7 +56,7 @@ class Contract(models.Model): name = fields.Char('Contract Reference', required=True) employee_id = fields.Many2one('hr.employee', string='Employee') department_id = fields.Many2one('hr.department', string="Department") - type_id = fields.Many2one('hr.contract.type', string="Contract Type", required=True, default=lambda self: self.env['hr.contract.type'].search([], limit=1)) + type_id = fields.Many2one('hr.contract.type', string="Employee Category", required=True, default=lambda self: self.env['hr.contract.type'].search([], limit=1)) job_id = fields.Many2one('hr.job', string='Job Position') date_start = fields.Date('Start Date', required=True, default=fields.Date.today, help="Start date of the contract.")