From bb381cb21f65aba5032ef19908ba54b846e10b44 Mon Sep 17 00:00:00 2001 From: Antony Lesuisse Date: Thu, 11 Aug 2011 05:03:09 +0200 Subject: [PATCH] [FIX] viewmanageraction set action before _super bzr revid: al@openerp.com-20110811030309-76p0gev9e2dqng2s --- addons/base/static/src/js/views.js | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/base/static/src/js/views.js b/addons/base/static/src/js/views.js index 051a71d3852..95d90dd1c38 100644 --- a/addons/base/static/src/js/views.js +++ b/addons/base/static/src/js/views.js @@ -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 || {};