[REF] hr: remove unnecessary city field on employee
It is not used and is a non stored related on the work address. It is therefore not really necessary to keep it.
This commit is contained in:
@@ -156,7 +156,6 @@ class Employee(models.Model):
|
||||
mobile_phone = fields.Char('Work Mobile')
|
||||
work_email = fields.Char('Work Email')
|
||||
work_location = fields.Char('Work Location')
|
||||
city = fields.Char(related='address_id.city')
|
||||
# employee in company
|
||||
job_id = fields.Many2one('hr.job', 'Job Title')
|
||||
department_id = fields.Many2one('hr.department', 'Department')
|
||||
|
||||
Reference in New Issue
Block a user