From 29dd2b9fdcffac06b38f1b8386aa5bb85917f430 Mon Sep 17 00:00:00 2001 From: smna-odoo Date: Thu, 2 Mar 2023 09:43:27 +0000 Subject: [PATCH] [FIX] survey: pass the blank string if name and email is not set MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In some cases name and email are NULL in survey.user_input so it's return False and can't change the case of the boolean value. So here add the blank string if name and email is not set. sentry-3951409506 closes odoo/odoo#115455 X-original-commit: 68b5ab4f2936a02fe8245b887bf402abd4fd2997 Signed-off-by: Warnon Aurélien (awa) --- addons/survey/views/survey_report_templates.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/survey/views/survey_report_templates.xml b/addons/survey/views/survey_report_templates.xml index a6d5ecda214..fb46b1c3221 100644 --- a/addons/survey/views/survey_report_templates.xml +++ b/addons/survey/views/survey_report_templates.xml @@ -17,7 +17,7 @@

This certificate is presented to
- + @@ -68,7 +68,7 @@

This certificate is presented to - +