Browse Source

Merge pull request #131 from coopiteasy/12.0-emc_ch-fix-check-iban

[FIX] easy_my_coop_ch : validate button must appear when no iban
pull/132/head 12.0-2020-10-26.00
vvrossem 4 years ago
committed by GitHub
parent
commit
58410b0533
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      easy_my_coop_ch/models/coop.py

5
easy_my_coop_ch/models/coop.py

@ -23,3 +23,8 @@ class SubscriptionRequest(models.Model):
req_fields.remove("iban")
return req_fields
def check_iban(self, iban):
if iban:
return super(SubscriptionRequest, self).check_iban(iban)
return True
Loading…
Cancel
Save