diff options
| author | Maurin Verrijdt <mvj@odoo.com> | 2019-12-04 14:33:48 +0000 |
|---|---|---|
| committer | Denis Ledoux <dle@odoo.com> | 2019-12-13 09:54:51 +0000 |
| commit | 7281a7d9d58ba40e000f055a497b95f626134a94 (patch) | |
| tree | f2eafa5b29ff2809c262eca8d4cb7273aeb7d77d /addons/web_editor/static/src/xml/editor.xml | |
| parent | 70c8fb0cb1d30a29a6b8687ebf21e95f07df0333 (diff) | |
[FIX] base: ir.ui.menu, allow unlink of menu_item with unactive children
- Set active = false on menu that has a parent
- Delete the parent menu.
It crashes in the unlink method of ir_ui_menu
because it didn't set parent=null on records that are inactive.
Because the search method to get children
of a menu item only returns node where active=true
if `active_test` is not passed in the context to
disable this active test filter.
closes odoo/odoo#41859
X-original-commit: a9c0c1d45583d547754735e857168d5ae27876a5
Signed-off-by: Denis Ledoux (dle) <dle@odoo.com>
Diffstat (limited to 'addons/web_editor/static/src/xml/editor.xml')
0 files changed, 0 insertions, 0 deletions
