From 305a7c27e71755d08fc91e88a5ebe33c93f2cad9 Mon Sep 17 00:00:00 2001 From: Nicolas JEUDY Date: Mon, 28 Nov 2016 00:11:07 +0100 Subject: [PATCH] [FIX] wrong obj call self -> self.contact_id --- partner_contact_in_several_companies/models/res_partner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/partner_contact_in_several_companies/models/res_partner.py b/partner_contact_in_several_companies/models/res_partner.py index 1755cceac..d24096a27 100644 --- a/partner_contact_in_several_companies/models/res_partner.py +++ b/partner_contact_in_several_companies/models/res_partner.py @@ -117,7 +117,7 @@ class ResPartner(models.Model): self.ensure_one() if self.contact_id: contact_fields = self._contact_fields() - sync_vals = self._update_fields_values(contact_fields) + sync_vals = self.contact_id._update_fields_values(contact_fields) self.write(sync_vals) def update_contact(self, vals):