[IMP] web: add infos key to on_close from special action

This commit is contained in:
Simon Lejeune
2018-08-13 14:23:19 +02:00
parent 65cc630050
commit d3d576cf8e
@@ -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];