summaryrefslogtreecommitdiff
path: root/addons/website/static/src/snippets
diff options
context:
space:
mode:
authorXavier Morel <xmo@odoo.com>2020-07-29 13:25:09 +0000
committerXavier Morel <xmo@odoo.com>2020-07-30 05:37:05 +0000
commit37a7aed1897dcb41d340fc509338a45e572659d5 (patch)
treee39e130779df3930610c18d6030f20113f9d9814 /addons/website/static/src/snippets
parenta647497b5110fbff99dddfce66038fe9df48b603 (diff)
[IMP] core: allow both action & children on root node
Reported by VFE, odoo/odoo#54564 missed one of the use cases in menus: normally a menu can have *either* sub-menus or an action (aka only "leaf" menu items can have actions), however there's an exception for root (application) menus: those can have an action, which is used as the application's action, that is, what gets executed when opening the application itself. * root menus were already special cased (to allow a ``web_icon``), expand this to allow both action and submenus * modify the alternatives -- submenu-items and menuitems with a parent -- so they keep the behavior of allowing *either* an action or children closes odoo/odoo#55144 Signed-off-by: Xavier Morel (xmo) <xmo@odoo.com>
Diffstat (limited to 'addons/website/static/src/snippets')
0 files changed, 0 insertions, 0 deletions