From 4296edf234c9f2c481de854f86f116e3baec9264 Mon Sep 17 00:00:00 2001 From: houssine Date: Tue, 10 Sep 2019 16:21:40 +0200 Subject: [PATCH] [FIX] fix birthdate attribute --- easy_my_coop_website/controllers/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/easy_my_coop_website/controllers/main.py b/easy_my_coop_website/controllers/main.py index 6efc7b7..b617b27 100644 --- a/easy_my_coop_website/controllers/main.py +++ b/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: