From 378179d7117dc31ff37131f8bbaba92909e083f1 Mon Sep 17 00:00:00 2001 From: "rpa (Open ERP)" Date: Tue, 14 Sep 2010 17:27:36 +0530 Subject: [PATCH] [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):