From 35df43c4919d0bba0ada981a5b5ab2602cb5c2e8 Mon Sep 17 00:00:00 2001 From: niv-openerp Date: Tue, 16 Oct 2012 14:41:35 +0200 Subject: [PATCH] [FIX] modified action manager to use the $buttons of Dialog when it instantiate a ViewManager in a Dialog bzr revid: nicolas.vanhoren@openerp.com-20121016124135-xkll7ugawv9ae6bq --- addons/web/static/src/js/views.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/addons/web/static/src/js/views.js b/addons/web/static/src/js/views.js index 7cbc346b59f..b3565911843 100644 --- a/addons/web/static/src/js/views.js +++ b/addons/web/static/src/js/views.js @@ -291,17 +291,20 @@ instance.web.ActionManager = instance.web.Widget.extend({ var widget = executor.widget(); if (executor.action.target === 'new') { if (this.dialog === null || this.dialog.isDestroyed()) { - // These buttons will be overwrited by