Browse Source

[FIX] fix birthdate attribute

12.0-add-financial-risk
houssine 5 years ago
parent
commit
4296edf234
  1. 2
      easy_my_coop_website/controllers/main.py

2
easy_my_coop_website/controllers/main.py

@ -109,7 +109,7 @@ class WebsiteSubscription(http.Controller):
values['gender'] = representative.gender
values['email'] = representative.email
values['contact_person_function'] = representative.function
values['birthdate'] = self.get_date_string(representative.birthdate)
values['birthdate'] = self.get_date_string(representative.birthdate_date)
values['lang'] = representative.lang
values['phone'] = representative.phone
else:

Loading…
Cancel
Save