Browse Source

[IMP] make validation on iban only if iban is not empty

pull/4/head
houssine 6 years ago
parent
commit
f2478c9312
  1. 2
      easy_my_coop_ch/models/coop.py

2
easy_my_coop_ch/models/coop.py

@ -28,4 +28,6 @@ class subscription_request(models.Model):
return True return True
def check_iban(self, iban): def check_iban(self, iban):
if iban:
return super(subscription_request, self).check_iban(iban)
return True return True
Loading…
Cancel
Save