Browse Source

[FIX] remove no_registre from required field

pull/1/head
houssine 6 years ago
parent
commit
116f30e2ec
  1. 12
      easy_my_coop_ch/models/coop.py

12
easy_my_coop_ch/models/coop.py

@ -15,12 +15,12 @@ class subscription_request(models.Model):
('fond','Foundation'),
('edp','Company under public law')])
# def get_required_field(self):
# required_fields = super(subscription_request,self).get_required_field()
# if 'iban' in required_fields:
# required_fields.remove('iban')
#
# return required_fields
def get_required_field(self):
required_fields = super(subscription_request,self).get_required_field()
if 'no_registre' in required_fields:
required_fields.remove('no_registre')
return required_fields
def check_belgian_identification_id(self, nat_register_num):
#deactivate number validation for swiss localization
Loading…
Cancel
Save