[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>
This commit is contained in:
Denis Ledoux
2020-05-19 17:26:30 +00:00
parent c65b4519d2
commit d8d54a8fb0
+5
View File
@@ -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"/>