[FIX] user can change company
bzr revid: fp@tinyerp.com-20091223163711-65ayzf2jrp8ldm2t
This commit is contained in:
parent
d308b6a1b5
commit
028cb41b03
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue