Browse Source

[IMP] clarify comment

pull/112/head
houssine 4 years ago
parent
commit
1de8debef8
  1. 5
      easy_my_coop/controllers/main.py

5
easy_my_coop/controllers/main.py

@ -245,8 +245,9 @@ class WebsiteSubscription(http.Controller):
# Check that required field from model subscription_request exists
required_fields = sub_req_obj.sudo().get_required_field()
if logged:
# these fields are readonly when logged
# we want to ease the process if user was a subscriber
# these fields are read only when logged
# we want to ease the process if user was already registered in the
# database from another module
self.remove_field_from_list(required_fields, 'iban')
self.remove_field_from_list(required_fields, 'birthdate')

Loading…
Cancel
Save