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): def check_iban(self, iban):
validated = True validated = True
if iban:
try: try:
validate_iban(iban) validate_iban(iban)
except ValidationError: except ValidationError:

Loading…
Cancel
Save