|
@ -13,9 +13,11 @@ class subscription_request(models.Model): |
|
|
|
|
|
|
|
|
def get_required_field(self): |
|
|
def get_required_field(self): |
|
|
required_fields = super(subscription_request,self).get_required_field() |
|
|
required_fields = super(subscription_request,self).get_required_field() |
|
|
# if 'no_registre' in required_fields: |
|
|
|
|
|
# required_fields.remove('no_registre') |
|
|
|
|
|
if 'iban' in required_fields: |
|
|
if 'iban' in required_fields: |
|
|
required_fields.remove('iban') |
|
|
required_fields.remove('iban') |
|
|
|
|
|
|
|
|
return required_fields |
|
|
|
|
|
|
|
|
return required_fields |
|
|
|
|
|
|
|
|
|
|
|
def check_belgian_identification_id(self, nat_register_num): |
|
|
|
|
|
#deactivate number validation for french localization |
|
|
|
|
|
return True |