From 937db5386a5b88386fe9c6a5e55255267ddb88e9 Mon Sep 17 00:00:00 2001 From: David Beguin Date: Thu, 22 Nov 2018 15:58:55 +0100 Subject: [PATCH 1/4] [FIX] survey : Fix datetimepicker single id issue. In survey template, the datetimepicker was created with always the same id. So if two date fields were present on the same page, it created a multidemensional vortex that broke an alternative reality, resulting in not being able to fill in both date fields and other crapy stuffs. Also, the sass file needed to work with tempusdominus library were not loaded with the js file that comes with it. Resulting in an hugly calendar (if it could be called calendar) widget. As survey does not load backend nor frontend assets, it's necessary to have both files (js and sass files) in common assets. Task ID : 1911291 Closes PR #28966 --- addons/survey/views/survey_templates.xml | 6 +++--- addons/web/views/webclient_templates.xml | 3 +-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/addons/survey/views/survey_templates.xml b/addons/survey/views/survey_templates.xml index 199e8bdd2e4..14746d56150 100644 --- a/addons/survey/views/survey_templates.xml +++ b/addons/survey/views/survey_templates.xml @@ -238,9 +238,9 @@