[IMP]: base: Set interface by default with current user's interface while setting interface by configuration wizard

bzr revid: rpa@tinyerp.com-20100914115736-xyz8zzomzk7612iu
This commit is contained in:
rpa (Open ERP)
2010-09-14 17:27:36 +05:30
parent affdde04e9
commit 378179d711
+1 -1
View File
@@ -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):