Browse Source

[FIX] wrong obj call self -> self.contact_id

pull/347/head
Nicolas JEUDY 8 years ago
parent
commit
305a7c27e7
  1. 2
      partner_contact_in_several_companies/models/res_partner.py

2
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):

Loading…
Cancel
Save