[fix] add default note if we have new-style config items following old-style ones

bzr revid: xmo@tinyerp.com-20091217141914-dc0i3l1j7b92oe01
This commit is contained in:
Xavier Morel
2009-12-17 15:19:14 +01:00
parent d9f1c0f2b1
commit 2151d2808a
+4 -1
View File
@@ -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..."