From 378179d7117dc31ff37131f8bbaba92909e083f1 Mon Sep 17 00:00:00 2001 From: "rpa (Open ERP)" Date: Tue, 14 Sep 2010 17:27:36 +0530 Subject: [PATCH 1/5] [IMP]: base: Set interface by default with current user's interface while setting interface by configuration wizard bzr revid: rpa@tinyerp.com-20100914115736-xyz8zzomzk7612iu --- bin/addons/base/res/res_user.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/addons/base/res/res_user.py b/bin/addons/base/res/res_user.py index d8645a83cc0..7234752ea27 100644 --- a/bin/addons/base/res/res_user.py +++ b/bin/addons/base/res/res_user.py @@ -560,7 +560,7 @@ class res_config_view(osv.osv_memory): 'Interface', required=True ), } _defaults={ - 'view':lambda *args: 'simple', + 'view': lambda s,cr,uid,c: s.pool.get('res.users').browse(cr, uid, uid, c).view } def execute(self, cr, uid, ids, context=None): From f7d18164af561bcd35149bae4a753a6f253e44b5 Mon Sep 17 00:00:00 2001 From: "rpa (Open ERP)" Date: Wed, 15 Sep 2010 19:15:34 +0530 Subject: [PATCH 2/5] [IMP,ADD]: base: Improvement in new osv memort configuration wizard bzr revid: rpa@tinyerp.com-20100915134534-ysdxskot66w3bqdz --- bin/addons/base/__openerp__.py | 2 +- bin/addons/base/ir/ir.xml | 3 -- bin/addons/base/module/wizard/__init__.py | 1 - .../wizard/base_module_configuration.py | 11 ----- .../wizard/base_module_configuration_view.xml | 49 ++++++++----------- .../module/wizard/wizard_configuration.py | 1 + 6 files changed, 23 insertions(+), 44 deletions(-) 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..76f3ca3fdf2 100644 --- a/bin/addons/base/ir/ir.xml +++ b/bin/addons/base/ir/ir.xml @@ -1908,9 +1908,6 @@ -