diff --git a/test_themes/static/src/systray_items/website_switcher.js b/test_themes/static/src/systray_items/website_switcher.js index f9c4c722e..594eaa780 100644 --- a/test_themes/static/src/systray_items/website_switcher.js +++ b/test_themes/static/src/systray_items/website_switcher.js @@ -12,6 +12,8 @@ patch(WebsiteSwitcherSystray.prototype, 'test_themes_website_switcher_systray', this.orm = useService('orm'); this.tooltips = useState({}); + // Disable the notification service to avoid having a notification for each theme. + this.notificationService = { add: () => () => null }; onMounted(async () => { const themesWebsites = await this.orm.call('website', 'get_test_themes_websites_theme_preview'); diff --git a/test_themes/static/src/systray_items/website_switcher.xml b/test_themes/static/src/systray_items/website_switcher.xml index 24893155b..a115af7cd 100644 --- a/test_themes/static/src/systray_items/website_switcher.xml +++ b/test_themes/static/src/systray_items/website_switcher.xml @@ -8,5 +8,8 @@ this.tooltips[element.id] + + +