[IMP] use the openerp namespace.
[odoo/odoo.git] / openerp / addons / base / module / wizard / base_module_upgrade.py
index fa0dbf5..bd6b9b7 100644 (file)
@@ -46,15 +46,12 @@ class base_module_upgrade(osv.osv_memory):
 
         ids = self.get_module_list(cr, uid, context=context)
         if not ids:
-            res['arch'] = '''<form string="Apply Scheduled Upgrades" version="7.0">
-                                <header>
-                                    <button name="config" string="Start configuration" type="object" icon="gtk-ok" class="oe_highlight"/>
-                                </header>
-                                <group>
-                                    <separator string="System update completed" colspan="4"/>
-                                    <label align="0.0" string="The selected modules have been updated / installed !" colspan="4"/>
-                                    <label align="0.0" string="We suggest to reload the menu tab to see the new menus (Ctrl+T then Ctrl+R)." colspan="4"/>
-                                </group>
+            res['arch'] = '''<form string="Upgrade Completed" version="7.0">
+                                <separator string="Upgrade Completed" colspan="4"/>
+                                <footer>
+                                    <button name="config" string="Start Configuration" type="object" class="oe_highlight"/> or
+                                    <button special="cancel" string="Close" class="oe_link"/>
+                                </footer>
                              </form>'''
 
         return res