diff options
| author | Denis Ledoux <dle@odoo.com> | 2020-05-19 15:06:23 +0000 |
|---|---|---|
| committer | Denis Ledoux <dle@odoo.com> | 2020-05-19 17:26:30 +0000 |
| commit | d8d54a8fb015d2f73588fc43a0531fa7fbd237fc (patch) | |
| tree | c517bca0a86adc88734d05567e0e696cc46efe8a | |
| parent | c65b4519d2ebf3f2d153ae0e7600cc3e54e482fb (diff) | |
[FIX] website: ease upgrade of `menu_dashboard`
In revision
https://github.com/odoo/odoo/commit/d81e1b7341a515a9deceb5b20c350d5ecd5c3762#diff-f4faa075b03b31c962d50b453a3a0728L296
The server action `website.ir_actions_server_website_dashboard`
has been moved
from the menu `menu_dashboard`
to the menu `menu_website_dashboard`
To ease the upgrade of `menu_dashboard`
and automatically remove the server action from this menu
this revision forces to empty the action of `menu_dashboard`.
closes odoo/odoo#51576
X-original-commit: babbbc334815272f215d481e8a36b37077e7e668
Signed-off-by: Denis Ledoux (dle) <dle@odoo.com>
| -rw-r--r-- | addons/website/views/website_views.xml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/addons/website/views/website_views.xml b/addons/website/views/website_views.xml index 48f47a546ed..3a0a6879c47 100644 --- a/addons/website/views/website_views.xml +++ b/addons/website/views/website_views.xml @@ -461,6 +461,11 @@ sequence="1" parent="website.menu_website_configuration"/> + <!-- Force empty action, to ease upgrade --> + <record id="menu_dashboard" model="ir.ui.menu"> + <field name="action" eval="False"/> + </record> + <menuitem id="menu_website_dashboard" parent="menu_dashboard" sequence="10" name="eCommerce Dashboard" action="website.ir_actions_server_website_dashboard" active="0"/> |
