[FIX] viewmanageraction set action before _super

bzr revid: al@openerp.com-20110811030309-76p0gev9e2dqng2s
This commit is contained in:
Antony Lesuisse 2011-08-11 05:03:09 +02:00
parent f31d25f556
commit bb381cb21f
1 changed files with 1 additions and 0 deletions

View File

@ -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 || {};