From 15e3646b4f91165966aa92be919fb492a5fd4c24 Mon Sep 17 00:00:00 2001 From: Romain Derie Date: Tue, 3 Sep 2019 17:00:12 +0000 Subject: [FIX] website_theme_install,*: redirect to frontend after theme install MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit *: theme_bootswatch, theme_default Before this commit, the first time a website was loading a theme, it would not be redirected to the frontend afterward (even if that theme was already installed on another website). Any other theme installation on that website would redirect to frontend as it should. Indeed, the first time it would use the `act_url` returned by `next()` which would only be called during the first time installation on the website. All the `ir.action.todo` related to themes can be removed anyway, as you can't install directly a theme. It can only be installed through website settings > load a theme. In which case we will always want to redirect to frontend. task-2070463 closes odoo/odoo#37306 Signed-off-by: Jérémy Kersten (jke) --- addons/theme_default/data/theme_default_data.xml | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 addons/theme_default/data/theme_default_data.xml (limited to 'addons/theme_default/data/theme_default_data.xml') diff --git a/addons/theme_default/data/theme_default_data.xml b/addons/theme_default/data/theme_default_data.xml deleted file mode 100644 index 21e118429f8..00000000000 --- a/addons/theme_default/data/theme_default_data.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - Website - / - self - - - - open - - -- cgit v1.2.3