[FIX] hr, hr_contract: Rename 'Job Title' into 'Job Position'

This commit is contained in:
Yannick Tivisse
2017-05-08 16:55:51 +02:00
parent 967f92a539
commit dbeff8cce1
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -32,7 +32,7 @@ class Job(models.Model):
_description = "Job Position"
_inherit = ['mail.thread']
name = fields.Char(string='Job Title', required=True, index=True, translate=True)
name = fields.Char(string='Job Position', required=True, index=True, translate=True)
expected_employees = fields.Integer(compute='_compute_employees', string='Total Forecasted Employees', store=True,
help='Expected number of employees for this job position after new recruitment.')
no_of_employee = fields.Integer(compute='_compute_employees', string="Current Number of Employees", store=True,
@@ -161,7 +161,7 @@ class Employee(models.Model):
work_email = fields.Char('Work Email')
work_location = fields.Char('Work Location')
# employee in company
job_id = fields.Many2one('hr.job', 'Job Title')
job_id = fields.Many2one('hr.job', 'Job Position')
department_id = fields.Many2one('hr.department', 'Department')
parent_id = fields.Many2one('hr.employee', 'Manager')
child_ids = fields.One2many('hr.employee', 'parent_id', string='Subordinates')
+1 -1
View File
@@ -57,7 +57,7 @@ class Contract(models.Model):
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))
job_id = fields.Many2one('hr.job', string='Job Title')
job_id = fields.Many2one('hr.job', string='Job Position')
date_start = fields.Date('Start Date', required=True, default=fields.Date.today)
date_end = fields.Date('End Date')
trial_date_end = fields.Date('End of Trial Period')