[IMP] use the session's actionmanager to launch configuration step actions

bzr revid: xmo@openerp.com-20110714142854-futz5l3b2sjh1nku
This commit is contained in:
Xavier Morel 2011-07-14 16:28:54 +02:00
parent b922f1dd41
commit 0d3262ed0e
1 changed files with 8 additions and 8 deletions

View File

@ -319,14 +319,14 @@ openerp.base_dashboard.ConfigOverview = openerp.base.View.extend({
this.$element.find('div.oe-dashboard-config-overview ul')
.delegate('li', 'click', function () {
self.execute_action({
type: 'action',
name: $(this).data('action')
}, self.dataset,
new openerp.base.ActionManager(self.session, self.element_id),
null, null, function () {
// after action popup closed, refresh configuration thingie
self.start();
});
type: 'action',
name: $(this).data('action')
}, self.dataset,
self.session.action_manager,
null, null, function () {
// after action popup closed, refresh configuration thingie
self.start();
});
});
}
});