From 45e4850e353b068b4cbd46d67e150303c787bc3a Mon Sep 17 00:00:00 2001 From: amdi-odoo Date: Wed, 6 Mar 2024 11:03:02 +0100 Subject: [PATCH] [IMP] survey: reduce pages width MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reduce the survey questions page in every display mode and the print page display to be the half screen size. This is done to match the previous results page improvements. Also reducing the font size of the "Thank you" message and the print page questions and sections titles to best match the new half screen display. Removing the badly placed livechat from the survey main layout as it is overlapping the survey navigation. The current "no_livechat" variable in the survey main layout and the user input session layout is not taken into account. This is due to the fact that, in the "website_livechat" module, the check for the "no_livechat" variable is performed inside the "head" tag, so way before the "div[@id='wrapwrap']" element. Changing the xpath so that the "no_livechat" variable is correctly defined before the check. related odoo/odoo#152263 Task-3789479 closes odoo/odoo#156665 Signed-off-by: Warnon Aurélien (awa) --- addons/survey/views/survey_templates.xml | 19 +++++++++---------- .../survey/views/survey_templates_print.xml | 8 ++++---- .../survey_templates_user_input_session.xml | 6 +++--- 3 files changed, 16 insertions(+), 17 deletions(-) diff --git a/addons/survey/views/survey_templates.xml b/addons/survey/views/survey_templates.xml index acbc9aa1d82..54cffee00ee 100644 --- a/addons/survey/views/survey_templates.xml +++ b/addons/survey/views/survey_templates.xml @@ -3,7 +3,7 @@