From 7dace5081d8620e6e331779fbbb2531b28cb6988 Mon Sep 17 00:00:00 2001 From: "Divyesh Makwana (Open ERP)" Date: Mon, 31 Oct 2011 11:22:21 +0530 Subject: [PATCH] [FIX] The main application wizard must trigger chart of account wizardS lp bug: https://launchpad.net/bugs/876260 fixed bzr revid: mdi@tinyerp.com-20111031055221-qvwgi4w7hfpdjcco --- openerp/addons/base/res/res_config.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/openerp/addons/base/res/res_config.py b/openerp/addons/base/res/res_config.py index 3cec8b740ec..12bf386d5c5 100644 --- a/openerp/addons/base/res/res_config.py +++ b/openerp/addons/base/res/res_config.py @@ -70,6 +70,9 @@ class res_config_configurable(osv.osv_memory): res = next.action_launch(context=context) res['nodestroy'] = False return res + + if 'html' in context: + return {'type' : 'ir.actions.reload'} return {'type' : 'ir.actions.act_window_close'} def start(self, cr, uid, ids, context=None):