summaryrefslogtreecommitdiff
path: root/addons/website_theme_install/views
diff options
context:
space:
mode:
authorqsm-odoo <qsm@odoo.com>2018-09-18 16:11:25 +0200
committerqsm-odoo <qsm@odoo.com>2018-09-19 10:24:00 +0200
commit3ecf2fbc7e8a34437d3abd4ffbf2f680b6f226b1 (patch)
tree7ed90b8db0059c7b45e84f574337c87164e932bb /addons/website_theme_install/views
parent1c946f79fcdcd74a6aa84b5ec8e659a593666962 (diff)
[FIX] website_theme_install: review customization dialog message
The priority was set to a low value while it was meant to be a high value. Indeed, we want that if that template is active, the customize modal is emptied no matter what, so it has to be called last. This is to have an understandable behavior if our code fails to mark the template as inactive on a theme installation. With this commit, the customization dialog will be empty. Without this commit, it gives an error which can lead to think we made a mistake writing the theme's own customization dialog while it was in fact inheriting from an emptied dialog.
Diffstat (limited to 'addons/website_theme_install/views')
-rw-r--r--addons/website_theme_install/views/views.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/website_theme_install/views/views.xml b/addons/website_theme_install/views/views.xml
index 20e8df2ca87..a93ac2ce577 100644
--- a/addons/website_theme_install/views/views.xml
+++ b/addons/website_theme_install/views/views.xml
@@ -103,7 +103,7 @@ action = {
</record>
<!-- Add link to theme install in default customize modal -->
- <template id="customize_modal" inherit_id="website.theme_customize" priority="1">
+ <template id="customize_modal" inherit_id="website.theme_customize" priority="99">
<xpath expr="//div" position="replace">
<div>
Please <a href="/web#action=website_theme_install.theme_install_kanban_action">install a theme</a> to customize your website.