[fix] problem with server actions, presumably old test code with static values

bzr revid: nicolas.vanhoren@openerp.com-20110912130727-mm9n2473u4ta8bk8
This commit is contained in:
niv-openerp 2011-09-12 15:07:27 +02:00
parent 82b4166fac
commit 9112bdc880
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ openerp.web.ActionManager = openerp.web.Widget.extend({
var self = this;
this.rpc('/web/action/run', {
action_id: action.id,
context: {active_id: 66, active_ids: [66], active_model: 'ir.ui.menu'}
context: action.context || {}
}).then(function (action) {
self.do_action(action, on_closed)
});