Skip to content

Commit 9592392

Browse files
detrouxdevhubvd
authored andcommitted
[FIX] theme_aviator, theme_odoo_experts: Update homepage tours
Since [1], some blocks in theme_aviato and theme_odoo_experts no longer have shapes by default, so add a step to toggle a shape. [1]: d206c11 opw-3595512 closes #746 X-original-commit: bea0f57 Related: odoo/odoo#142362 Signed-off-by: Quentin Smetz (qsm) <[email protected]>
1 parent 3b94657 commit 9592392

File tree

2 files changed

+2
-2
lines changed
  • theme_aviato/static/src/js
  • theme_odoo_experts/static/src/js

2 files changed

+2
-2
lines changed

theme_aviato/static/src/js/tour.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,6 @@ wTourUtils.registerThemeHomepageTour("aviato_tour", () => [
4141
wTourUtils.dragNDrop(snippets[4]),
4242
wTourUtils.dragNDrop(snippets[5]),
4343
wTourUtils.clickOnSnippet(snippets[5], 'top'),
44-
wTourUtils.changeOption('BackgroundShape', 'we-toggler', _t('Background Shape')),
44+
wTourUtils.changeOption('ColoredLevelBackground', 'we-button[data-toggle-bg-shape]', _t('Background Shape')),
4545
wTourUtils.selectNested('we-select-page', 'BackgroundShape', ':not(.o_we_pager_controls)', _t('Background Shape')),
4646
]);

theme_odoo_experts/static/src/js/tour.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ wTourUtils.registerThemeHomepageTour("odoo_experts_tour", () => [
4545
wTourUtils.dragNDrop(snippets[4]),
4646
wTourUtils.dragNDrop(snippets[5]),
4747
wTourUtils.clickOnSnippet(snippets[5], 'top'),
48-
wTourUtils.changeOption('BackgroundShape', 'we-toggler', _t('Background Shape')),
48+
wTourUtils.changeOption('ColoredLevelBackground', 'we-button[data-toggle-bg-shape]', _t('Background Shape')),
4949
wTourUtils.selectNested('we-select-page', 'BackgroundShape', ':not(.o_we_pager_controls)', _t('Background Shape')),
5050
wTourUtils.goBackToBlocks(),
5151
wTourUtils.dragNDrop(snippets[6]),

0 commit comments

Comments
 (0)