From 2151d2808a21d483e57d92be5467a89283b2f9fa Mon Sep 17 00:00:00 2001 From: Xavier Morel Date: Thu, 17 Dec 2009 15:19:14 +0100 Subject: [PATCH] [fix] add default note if we have new-style config items following old-style ones bzr revid: xmo@tinyerp.com-20091217141914-dc0i3l1j7b92oe01 --- bin/addons/base/res/res_config.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bin/addons/base/res/res_config.py b/bin/addons/base/res/res_config.py index 595d72732e4..52096575272 100644 --- a/bin/addons/base/res/res_config.py +++ b/bin/addons/base/res/res_config.py @@ -122,7 +122,10 @@ class ir_actions_configuration_wizard(osv.osv_memory): def _next_action_note(self, cr, uid, ids, context=None): next = self._next_action(cr, uid) if next: - return next.note + # if the next one is also an old-style extension, you never know... + if next.note: + return next.note + return "Click 'Continue' to configure the next addon..." return "Your database is now fully configured.\n\n"\ "Click 'Continue' and enjoy your OpenERP experience..."