Browse Source

[FIX] check is company on res.partner instead of self

pull/1/head
houssine 7 years ago
parent
commit
bd79b7d374
  1. 2
      easy_my_coop/wizard/update_partner_info.py

2
easy_my_coop/wizard/update_partner_info.py

@ -35,7 +35,7 @@ class PartnerUpdateInfo(models.TransientModel):
cooperator = self.cooperator
coop_vals = {}
if self.is_company:
if cooperator.is_company:
coop_vals['company_register_number'] = self.register_number
else:
if self.check_belgian_ident_id(self.register_number):

Loading…
Cancel
Save