summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabien Pinckaers <fp@tinyerp.com>2009-12-23 17:37:11 +0100
committerFabien Pinckaers <fp@tinyerp.com>2009-12-23 17:37:11 +0100
commit028cb41b030436b5cc4e4ff19d76fea4e130edcb (patch)
treeb031885fe8be6a6624c84d65182a5bd17217b8d8
parentd308b6a1b5ce94b56ea2a9f3dd284c5816ae2bf3 (diff)
[FIX] user can change company
bzr revid: fp@tinyerp.com-20091223163711-65ayzf2jrp8ldm2t
-rw-r--r--bin/addons/base/res/res_user.py2
1 files changed, 1 insertions, 1 deletions
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