Browse Source

[IMP] don't control iban validity if no number is provided

pull/16/head
houssine 5 years ago
parent
commit
45c4232164
  1. 1
      easy_my_coop/models/coop.py

1
easy_my_coop/models/coop.py

@ -106,6 +106,7 @@ class SubscriptionRequest(models.Model):
def check_iban(self, iban):
validated = True
if iban:
try:
validate_iban(iban)
except ValidationError:

Loading…
Cancel
Save