[FIX] bug in CompoundDomain: need self alias to this

bzr revid: xmo@openerp.com-20110628144925-c138oielqt6ukozj
This commit is contained in:
Xavier Morel 2011-06-28 16:49:25 +02:00
parent 801c05ccbd
commit de0d177627
1 changed files with 1 additions and 1 deletions

View File

@ -459,7 +459,7 @@ openerp.base.View = openerp.base.Controller.extend({
result : { type: 'ir.actions.act_window_close', special: action_data.special }
});
} else {
var context = new openerp.base.CompoundContext(dataset.context).add(action_data.context || {});
var context = new openerp.base.CompoundContext(dataset.context, action_data.context || {});
switch(action_data.type) {
case 'object':
return dataset.call_button(action_data.name, [[record_id], context], handler);