|
|
@ -147,7 +147,9 @@ class PartnerCreateSubscription(models.TransientModel): |
|
|
|
if self.check_belgian_ident_id(self.register_number): |
|
|
|
coop_vals['national_register_number'] = self.register_number |
|
|
|
|
|
|
|
if not self._get_representative(): |
|
|
|
if self.is_company and not self._get_representative(): |
|
|
|
representative = False |
|
|
|
if self.representative_number: |
|
|
|
representative_number = self.representative_number |
|
|
|
representative = partner_obj.search([('national_register_number','=',representative_number)]) |
|
|
|
|
|
|
|