[FIX] user can change company

bzr revid: fp@tinyerp.com-20091223163711-65ayzf2jrp8ldm2t
This commit is contained in:
Fabien Pinckaers 2009-12-23 17:37:11 +01:00
parent d308b6a1b5
commit 028cb41b03
1 changed files with 1 additions and 1 deletions

View File

@ -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