[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:
Xavier Morel 2011-06-30 14:15:34 +02:00
parent f84f7f5729
commit a394f6b141
1 changed files with 4 additions and 4 deletions

View File

@ -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