[IMP] view: add state into params for actions

bzr revid: chm@openerp.com-20130408100136-g02rm74eb3jbgraq
This commit is contained in:
Christophe Matthieu 2013-04-08 12:01:36 +02:00
parent 6fe10fc8e5
commit c63da2f8a7
1 changed files with 1 additions and 0 deletions

View File

@ -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() {