[FIX] allow excution of client actions from url

bzr revid: chs@openerp.com-20120614164141-s8hm4wj5xoswh9ym
This commit is contained in:
Christophe Simonis
2012-06-14 18:41:41 +02:00
parent db054a47d8
commit 752fe6171f
+8 -1
View File
@@ -77,7 +77,14 @@ instance.web.ActionManager = instance.web.Widget.extend({
});
} else if (state.client_action) {
this.null_action();
this.ir_actions_client(state.client_action);
var action = state.client_action;
if(_.isString(action)) {
action = {
tag: action,
params: $.deparam($.param.querystring()),
};
}
this.ir_actions_client(action);
}
$.when(action_loaded || null).then(function() {