From 2a44f9dcf354ace73e13d4d7943ac2db7d2953df Mon Sep 17 00:00:00 2001 From: Aaron Bohy Date: Mon, 7 Sep 2020 07:51:09 +0000 Subject: [PATCH] [IMP] web: tz cookie: test if already set This commit adds a test to save the effort of re-setting the tz cookie when it is already set. We also merge the tz cookie script with the one defining session_info. Commit motivated by discussion on PR #55726 closes odoo/odoo#57218 X-original-commit: 0a43d8040f0c5ec8e9728b2e9da8c7d46d7292bb Signed-off-by: Olivier Dony (odo) --- addons/web/views/webclient_templates.xml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/addons/web/views/webclient_templates.xml b/addons/web/views/webclient_templates.xml index 6cdde6286b6..47ee5cea4e5 100644 --- a/addons/web/views/webclient_templates.xml +++ b/addons/web/views/webclient_templates.xml @@ -466,12 +466,6 @@ - - - @@ -479,6 +473,10 @@