diff --git a/bin/addons/base/__openerp__.py b/bin/addons/base/__openerp__.py
index 5f7fade6309..47a36987b48 100644
--- a/bin/addons/base/__openerp__.py
+++ b/bin/addons/base/__openerp__.py
@@ -52,7 +52,7 @@
'module/wizard/base_language_install_view.xml',
'module/wizard/base_import_language_view.xml',
'module/wizard/base_module_upgrade_view.xml',
- #TODO: 'module/wizard/base_module_configuration_view.xml',
+ 'module/wizard/base_module_configuration_view.xml',
'module/wizard/base_export_language_view.xml',
'module/wizard/base_update_translations_view.xml',
'res/res_request_view.xml',
diff --git a/bin/addons/base/ir/ir.xml b/bin/addons/base/ir/ir.xml
index eac674f3e77..5890317dd87 100644
--- a/bin/addons/base/ir/ir.xml
+++ b/bin/addons/base/ir/ir.xml
@@ -1908,9 +1908,6 @@
-
@@ -1961,14 +1958,8 @@
-
-
-
diff --git a/bin/addons/base/maintenance/maintenance_view.xml b/bin/addons/base/maintenance/maintenance_view.xml
index e61348abca5..8b4021347d4 100644
--- a/bin/addons/base/maintenance/maintenance_view.xml
+++ b/bin/addons/base/maintenance/maintenance_view.xml
@@ -38,7 +38,7 @@
-
+
maintenance.contract.search
maintenance.contract
@@ -51,7 +51,7 @@
-
+
maintenance.contract.calendar
maintenance.contract
@@ -106,9 +106,9 @@
-
+
-
+
diff --git a/bin/addons/base/module/wizard/__init__.py b/bin/addons/base/module/wizard/__init__.py
index 76e7b329331..a4133a50113 100644
--- a/bin/addons/base/module/wizard/__init__.py
+++ b/bin/addons/base/module/wizard/__init__.py
@@ -19,9 +19,6 @@
#
##############################################################################
-#Old Wizard
-import wizard_configuration
-
import base_module_import
import base_module_update
import base_language_install
diff --git a/bin/addons/base/module/wizard/base_export_language_view.xml b/bin/addons/base/module/wizard/base_export_language_view.xml
index 389a97d0954..cae515425d5 100644
--- a/bin/addons/base/module/wizard/base_export_language_view.xml
+++ b/bin/addons/base/module/wizard/base_export_language_view.xml
@@ -27,10 +27,10 @@
-
+
-
-
+
+
diff --git a/bin/addons/base/module/wizard/base_import_language_view.xml b/bin/addons/base/module/wizard/base_import_language_view.xml
index 031969543f7..eb73e8d4370 100644
--- a/bin/addons/base/module/wizard/base_import_language_view.xml
+++ b/bin/addons/base/module/wizard/base_import_language_view.xml
@@ -20,7 +20,7 @@
-
+
@@ -32,7 +32,7 @@
-
+
diff --git a/bin/addons/base/module/wizard/base_language_install_view.xml b/bin/addons/base/module/wizard/base_language_install_view.xml
index 3bec1c19005..b97ba101284 100644
--- a/bin/addons/base/module/wizard/base_language_install_view.xml
+++ b/bin/addons/base/module/wizard/base_language_install_view.xml
@@ -15,7 +15,7 @@
-
+
diff --git a/bin/addons/base/module/wizard/base_module_configuration.py b/bin/addons/base/module/wizard/base_module_configuration.py
index 2473136501d..909637c1d21 100644
--- a/bin/addons/base/module/wizard/base_module_configuration.py
+++ b/bin/addons/base/module/wizard/base_module_configuration.py
@@ -19,15 +19,33 @@
#
##############################################################################
-import pooler
-from osv import osv, fields
+from osv import osv
+from tools.translate import _
class base_module_configuration(osv.osv_memory):
- _name = "base.module.configuration"
+ _name = "base.module.configuration"
- def config(self, cr, uid, data, context=None):
- return self.pool.get('res.config').next(cr, uid, [], context=context)
+ def start(self, cr, uid, ids, context=None):
+ todo_ids = self.pool.get('ir.actions.todo').search(cr, uid, ['|', ('state', '=', 'open'), ('restart', '=', 'always')])
+ if not todo_ids:
+ # When there is no wizard todo it will display message
+ data_obj = self.pool.get('ir.model.data')
+ result = data_obj._get_id(cr, uid, 'base', 'view_base_module_configuration_form')
+ view_id = data_obj.browse(cr, uid, result).res_id
+ value = {
+ 'name': _('System Configuration done'),
+ 'view_type': 'form',
+ 'view_mode': 'form',
+ 'res_model': 'base.module.configuration',
+ 'view_id': [view_id],
+ 'type': 'ir.actions.act_window',
+ 'target': 'new'
+ }
+ return value
+ # Run the config wizards
+ config_pool = self.pool.get('res.config')
+ return config_pool.start(cr, uid, ids, context=context)
base_module_configuration()
diff --git a/bin/addons/base/module/wizard/base_module_configuration_view.xml b/bin/addons/base/module/wizard/base_module_configuration_view.xml
index 05190133801..559273be8a9 100644
--- a/bin/addons/base/module/wizard/base_module_configuration_view.xml
+++ b/bin/addons/base/module/wizard/base_module_configuration_view.xml
@@ -2,35 +2,42 @@
-
+
Module Configuration
base.module.configuration
form
-
+
-
- Module Configuration
- ir.actions.act_window
- base.module.configuration
- form
- form
- new
+
+
+ Start Configuration
+
+ code
+ action = obj.start([])
-
+
-
+
+
+
+ Start Configuration
+ client_action_multi
+
+ action
+ ir.actions.todo
+
+
-
\ No newline at end of file
+
diff --git a/bin/addons/base/module/wizard/base_module_import_view.xml b/bin/addons/base/module/wizard/base_module_import_view.xml
index f46c7ebf293..8cb974167d9 100644
--- a/bin/addons/base/module/wizard/base_module_import_view.xml
+++ b/bin/addons/base/module/wizard/base_module_import_view.xml
@@ -14,7 +14,7 @@
-
+
@@ -47,7 +47,7 @@
-
+
diff --git a/bin/addons/base/module/wizard/base_module_update_view.xml b/bin/addons/base/module/wizard/base_module_update_view.xml
index 8ef4b0860e6..08576006ba5 100644
--- a/bin/addons/base/module/wizard/base_module_update_view.xml
+++ b/bin/addons/base/module/wizard/base_module_update_view.xml
@@ -12,7 +12,7 @@
-
+
@@ -47,7 +47,7 @@
-
+
diff --git a/bin/addons/base/module/wizard/base_module_upgrade_view.xml b/bin/addons/base/module/wizard/base_module_upgrade_view.xml
index a01146c0d37..ce7d2e6b659 100644
--- a/bin/addons/base/module/wizard/base_module_upgrade_view.xml
+++ b/bin/addons/base/module/wizard/base_module_upgrade_view.xml
@@ -14,7 +14,7 @@
-
+
@@ -53,7 +53,7 @@
-
+
diff --git a/bin/addons/base/module/wizard/base_update_translations_view.xml b/bin/addons/base/module/wizard/base_update_translations_view.xml
index 9663406c030..781f3d142d8 100644
--- a/bin/addons/base/module/wizard/base_update_translations_view.xml
+++ b/bin/addons/base/module/wizard/base_update_translations_view.xml
@@ -11,7 +11,7 @@
-
+
diff --git a/bin/addons/base/module/wizard/wizard_configuration.py b/bin/addons/base/module/wizard/wizard_configuration.py
deleted file mode 100644
index e720ba419b0..00000000000
--- a/bin/addons/base/module/wizard/wizard_configuration.py
+++ /dev/null
@@ -1,42 +0,0 @@
-# -*- coding: utf-8 -*-
-##############################################################################
-#
-# OpenERP, Open Source Management Solution
-# Copyright (C) 2004-2009 Tiny SPRL ().
-#
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU Affero General Public License as
-# published by the Free Software Foundation, either version 3 of the
-# License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU Affero General Public License for more details.
-#
-# You should have received a copy of the GNU Affero General Public License
-# along with this program. If not, see .
-#
-##############################################################################
-
-import wizard
-import pooler
-
-class wizard_configuration(wizard.interface):
-
- def _config(self, cr, uid, data, context=None):
- return pooler.get_pool(cr.dbname).get('res.config')\
- .next(cr, uid, [], context=context)
-
- states = {
- 'init':{
- 'result': {
- 'type': 'action',
- 'action': _config,
- 'state': 'end',
- },
- }
- }
-wizard_configuration('module.configuration')
-# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
-
diff --git a/bin/addons/base/res/res_request_view.xml b/bin/addons/base/res/res_request_view.xml
index 6780c7adefd..3e83f6c3e96 100644
--- a/bin/addons/base/res/res_request_view.xml
+++ b/bin/addons/base/res/res_request_view.xml
@@ -6,7 +6,7 @@
res.request
tree
-
+
@@ -87,7 +87,7 @@
-
+
res.request.calendar
res.request
@@ -109,7 +109,7 @@
{"search_default_act_to":uid}
-
+
res.request.link.form
res.request.link
@@ -144,7 +144,7 @@
-
+
References Link
ir.actions.act_window
@@ -154,8 +154,8 @@
-
-
+
+
res.request.history.tree
res.request.history
@@ -169,7 +169,7 @@
-
+
res.request.history.form
res.request.history