[IMP] web: add infos key to on_close from special action
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user