[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:
Thibault Delavallée
2017-04-03 10:35:30 +02:00
parent 838bd31914
commit 68a317f164
-1
View File
@@ -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')