summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/framework/session_instance.js
diff options
context:
space:
mode:
authorNicolas Lempereur <nle@odoo.com>2016-03-04 17:42:32 +0100
committerNicolas Lempereur <nle@odoo.com>2016-03-07 14:03:28 +0100
commit4309bd311fedabad9828f1d428efd77828757f41 (patch)
tree6cdafa3a7e36e225f8c712214ae4faa51324ba15 /addons/web/static/src/js/framework/session_instance.js
parentaca8a8bebc306af994adaf58e5ec184acec05b79 (diff)
[FIX] base: don't unlink base.open_menu but reset it
The ir.actions.todo record base.open_menu is used to redirect the user to a menu after installing a module. To do so, a new module override the record changing its action (toward a menu) and setting its state to "open". But with f7fe753 when one such changed action is removed after uninstalling a module (or removing the action by any other way) the base.open_menu would also be removed. Thus thereafter the open_menu will not work anymore (since type "automatic" is lost). With this commit, when whenever base.open_menu is removed, instead its action will be replaced by base.action_client_base_menu which is the original action. closes #11224 related to: #11216, opw-660269
Diffstat (limited to 'addons/web/static/src/js/framework/session_instance.js')
0 files changed, 0 insertions, 0 deletions