From 68a317f164a3dfccaba031818ab1e45f0584fd33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibault=20Delavall=C3=A9e?= Date: Fri, 6 Jan 2017 15:53:39 +0100 Subject: [PATCH] [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. --- addons/hr/models/hr.py | 1 - 1 file changed, 1 deletion(-) diff --git a/addons/hr/models/hr.py b/addons/hr/models/hr.py index 0ad50d3e73d..d523f6cee96 100644 --- a/addons/hr/models/hr.py +++ b/addons/hr/models/hr.py @@ -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')