summaryrefslogtreecommitdiff
path: root/addons/web
diff options
context:
space:
mode:
authorSimon Lejeune <sle@openerp.com>2018-07-25 11:57:10 +0200
committerSimon Lejeune <sle@openerp.com>2018-08-13 14:23:19 +0200
commitd3d576cf8ec9e5b5f6ae5f9d8845cf384435f12d (patch)
tree4bd9595883582c9ba6655bd1daba86ceee37aa4a /addons/web
parent65cc630050ed8e7642747a8f5b54d668f458dd0c (diff)
[IMP] web: add infos key to on_close from special action
Diffstat (limited to 'addons/web')
-rw-r--r--addons/web/static/src/js/chrome/action_manager_act_window.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/src/js/chrome/action_manager_act_window.js b/addons/web/static/src/js/chrome/action_manager_act_window.js
index eee8ffc9e92..cd90b32dfa3 100644
--- a/addons/web/static/src/js/chrome/action_manager_act_window.js
+++ b/addons/web/static/src/js/chrome/action_manager_act_window.js
@@ -708,7 +708,7 @@ ActionManager.include({
// determine the action to execute according to the actionData
if (actionData.special) {
- def = $.when({type: 'ir.actions.act_window_close'});
+ def = $.when({type: 'ir.actions.act_window_close', infos: 'special'});
} else if (actionData.type === 'object') {
// call a Python Object method, which may return an action to execute
var args = recordID ? [[recordID]] : [env.resIDs];