From 1de8debef88bde55324373471e609be6658ac412 Mon Sep 17 00:00:00 2001 From: houssine Date: Thu, 6 Aug 2020 15:03:47 +0200 Subject: [PATCH] [IMP] clarify comment --- easy_my_coop/controllers/main.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/easy_my_coop/controllers/main.py b/easy_my_coop/controllers/main.py index d5ab5fe..3da8433 100644 --- a/easy_my_coop/controllers/main.py +++ b/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')