From 5a2c267c20e2970a736d652af0647cff1029a1ff Mon Sep 17 00:00:00 2001 From: Gorash Date: Fri, 17 Jun 2022 09:06:11 +0000 Subject: [PATCH] [FIX] website: display the flag image of the language selector Issue introduced by commit b0a2a41 The template's "flags" value was not in the t-nocache values to use when rendering languages. X-original-commit: 7827d2dbc1fbef3cc0dc898baa0af30ed1f23fca Part-of: odoo/odoo#95222 --- addons/website/static/tests/tours/automatic_editor.js | 1 + addons/website/views/website_templates.xml | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/addons/website/static/tests/tours/automatic_editor.js b/addons/website/static/tests/tours/automatic_editor.js index eaa97054348..8e1825e3bd5 100644 --- a/addons/website/static/tests/tours/automatic_editor.js +++ b/addons/website/static/tests/tours/automatic_editor.js @@ -48,6 +48,7 @@ wTourUtils.registerEditionTour('automatic_editor_on_new_website', { { content: "Select parseltongue", trigger: 'iframe a.js_change_lang[data-url_code=pa_GB]', + extra_trigger: 'iframe a.js_change_lang .o_lang_flag', }, { content: "Check that we're on parseltongue and then go to settings", diff --git a/addons/website/views/website_templates.xml b/addons/website/views/website_templates.xml index 277e7aa44da..c4d07b760cb 100644 --- a/addons/website/views/website_templates.xml +++ b/addons/website/views/website_templates.xml @@ -1886,6 +1886,10 @@