[FIX] dashboard should go through full action resolution via the ActionManager, as it may get non-window actions
bzr revid: xmo@openerp.com-20110630121534-ay6g9f207snfelca
This commit is contained in:
parent
f84f7f5729
commit
a394f6b141
|
@ -225,10 +225,10 @@ openerp.base.form.DashBoard = openerp.base.form.Widget.extend({
|
|||
views_switcher : false,
|
||||
action_buttons : false,
|
||||
pager: false
|
||||
}
|
||||
var element_id = this.view.element_id + '_action_' + action.id;
|
||||
var view = new openerp.base.ViewManagerAction(this.session, element_id, action);
|
||||
view.start();
|
||||
};
|
||||
new openerp.base.ActionManager(
|
||||
this.session, this.view.element_id + '_action_' + action.id)
|
||||
.do_action(action);
|
||||
},
|
||||
render: function() {
|
||||
// We should start with three columns available
|
||||
|
|
Loading…
Reference in New Issue