diff --git a/base_location/models/company.py b/base_location/models/company.py index 3c0e78560..c0bfd1de2 100644 --- a/base_location/models/company.py +++ b/base_location/models/company.py @@ -54,6 +54,7 @@ class ResCompany(models.Model): @api.onchange('zip_id') def _onchange_zip_id(self): if self.zip_id: + self.partner_id.write({'zip_id': False}) self.zip = self.zip_id.name self.city_id = self.zip_id.city_id self.city = self.zip_id.city