diff --git a/easy_my_coop_ch/models/coop.py b/easy_my_coop_ch/models/coop.py index e413242..c3ddacf 100644 --- a/easy_my_coop_ch/models/coop.py +++ b/easy_my_coop_ch/models/coop.py @@ -18,9 +18,14 @@ class subscription_request(models.Model): req_fields = super(subscription_request, self).get_required_field() if 'no_registre' in req_fields: req_fields.remove('no_registre') + if 'iban' in req_fields: + req_fields.remove('iban') return req_fields def check_belgian_identification_id(self, nat_register_num): # deactivate number validation for swiss localization return True + + def check_iban(self, iban): + return True diff --git a/easy_my_coop_ch/views/subscription_template.xml b/easy_my_coop_ch/views/subscription_template.xml index c14c41d..cdb3bd6 100644 --- a/easy_my_coop_ch/views/subscription_template.xml +++ b/easy_my_coop_ch/views/subscription_template.xml @@ -3,10 +3,12 @@ \ No newline at end of file