Browse Source

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

pull/1/head
houssine 5 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:
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
else:
validated = False

Loading…
Cancel
Save