Browse Source

[IMP] adapt control of the subscription iban and niss number

pull/1/head
houssine 6 years ago
parent
commit
b79ba96290
  1. 6
      easy_my_coop/models/coop.py

6
easy_my_coop/models/coop.py

@ -114,9 +114,9 @@ class subscription_request(models.Model):
except ValidationError: except ValidationError:
validated = False validated = False
if sub_request.skip_control_ng \
or self.check_belgian_identification_id(
sub_request.no_registre):
if validated and (sub_request.skip_control_ng or
self.check_belgian_identification_id(
sub_request.no_registre)):
validated = True validated = True
else: else:
validated = False validated = False

Loading…
Cancel
Save