[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:
parent
82b4166fac
commit
9112bdc880
|
@ -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)
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue