From 028cb41b030436b5cc4e4ff19d76fea4e130edcb Mon Sep 17 00:00:00 2001 From: Fabien Pinckaers Date: Wed, 23 Dec 2009 17:37:11 +0100 Subject: [PATCH] [FIX] user can change company bzr revid: fp@tinyerp.com-20091223163711-65ayzf2jrp8ldm2t --- 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 f36e66d5df5..2a89c90bc2a 100644 --- a/bin/addons/base/res/res_user.py +++ b/bin/addons/base/res/res_user.py @@ -205,7 +205,7 @@ class users(osv.osv): if (ids == [uid]): ok = True for k in values.keys(): - if k not in ('password','signature','action_id', 'context_lang', 'context_tz'): + if k not in ('password','signature','action_id', 'context_lang', 'context_tz','company_id'): ok=False if ok: uid = 1