[FIX] viewmanageraction set action before _super
bzr revid: al@openerp.com-20110811030309-76p0gev9e2dqng2s
This commit is contained in:
parent
f31d25f556
commit
bb381cb21f
|
@ -277,6 +277,7 @@ openerp.base.ViewManagerAction = openerp.base.ViewManager.extend({
|
|||
} else {
|
||||
dataset = new openerp.base.DataSetStatic(this, action.res_model, action.context, [action.res_id]);
|
||||
}
|
||||
this.action = action;
|
||||
this._super(parent, dataset, action.views);
|
||||
this.action = action;
|
||||
this.flags = this.action.flags || {};
|
||||
|
|
Loading…
Reference in New Issue