[IMP] Dashboard: do not instantiate ActionManager, use ViewManagerAction instead

bzr revid: fme@openerp.com-20110713103500-v5w0lnskfj1w3r5x
This commit is contained in:
Fabien Meghazi 2011-07-13 12:35:00 +02:00
parent 3acbdf8153
commit 98cd4261d2
1 changed files with 2 additions and 3 deletions

View File

@ -226,9 +226,8 @@ openerp.base.form.DashBoard = openerp.base.form.Widget.extend({
action_buttons : false,
pager: false
};
new openerp.base.ActionManager(
this.session, this.view.element_id + '_action_' + action.id)
.do_action(action);
new openerp.base.ViewManagerAction(this.session,
this.view.element_id + '_action_' + action.id, action).start();
},
render: function() {
// We should start with three columns available