[FIX] *: update tours to use new DOM structure

*: theme_bookstore, theme_kiddo, theme_notes, theme_odoo_experts

DOM structure was modified in website refactor [1], those tours were
still using the former one because they were silently disabled during
the refactor. See community PR for details (which re-enables them).

[1]: https://github.com/odoo/odoo/commit/9fe45e2b7ddbbfd0445ffe25a859e67a316d02b2

Related to opw-5020952
Related to opw-5040694

X-original-commit: 59f35e4dde
Part-of: odoo/design-themes#1141
Related: odoo/odoo#225809
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Signed-off-by: Augustin Dupin (duau) <duau@odoo.com>
This commit is contained in:
Augustin (duau)
2025-09-05 13:16:55 +00:00
committed by qsm-odoo
parent 53cbeade36
commit 7fc9343344
4 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -52,8 +52,8 @@ wTourUtils.registerThemeHomepageTour("odoo_experts_tour", () => [
...wTourUtils.insertSnippet(snippets[4]),
...wTourUtils.insertSnippet(snippets[5]),
...wTourUtils.clickOnSnippet(snippets[5], 'top'),
wTourUtils.changeOption('ColoredLevelBackground', 'we-button[data-toggle-bg-shape]', _t('Background Shape')),
wTourUtils.selectNested('we-select-page', 'BackgroundShape', ':not(.o_we_pager_controls)', _t('Background Shape')),
wTourUtils.changeOption('FAQ Block', 'toggleBgShape', _t('Background Shape')),
wTourUtils.clickOnElement("shape", ".builder_select_page [data-action-id='setBackgroundShape']"),
wTourUtils.goBackToBlocks(),
...wTourUtils.insertSnippet(snippets[6]),
]);