[IMP] view: add state into params for actions
bzr revid: chm@openerp.com-20130408100136-g02rm74eb3jbgraq
This commit is contained in:
parent
6fe10fc8e5
commit
c63da2f8a7
|
@ -241,6 +241,7 @@ instance.web.ActionManager = instance.web.Widget.extend({
|
|||
} else if (state.active_id) {
|
||||
add_context.active_ids = [state.active_id];
|
||||
}
|
||||
add_context.params = state;
|
||||
this.null_action();
|
||||
action_loaded = this.do_action(state.action, { additional_context: add_context });
|
||||
$.when(action_loaded || null).done(function() {
|
||||
|
|
Loading…
Reference in New Issue