|
@ -180,6 +180,7 @@ class PartnerCreateSubscription(models.TransientModel): |
|
|
if self.is_company: |
|
|
if self.is_company: |
|
|
representative = self._get_representative() |
|
|
representative = self._get_representative() |
|
|
vals['name'] = representative.name |
|
|
vals['name'] = representative.name |
|
|
|
|
|
vals['no_registre'] = representative.register_number |
|
|
|
|
|
|
|
|
if coop_vals: |
|
|
if coop_vals: |
|
|
cooperator.write(coop_vals) |
|
|
cooperator.write(coop_vals) |
|
|