diff options
| author | Fabien Pinckaers <fp@tinyerp.com> | 2009-12-23 17:37:11 +0100 |
|---|---|---|
| committer | Fabien Pinckaers <fp@tinyerp.com> | 2009-12-23 17:37:11 +0100 |
| commit | 028cb41b030436b5cc4e4ff19d76fea4e130edcb (patch) | |
| tree | b031885fe8be6a6624c84d65182a5bd17217b8d8 /bin/addons | |
| parent | d308b6a1b5ce94b56ea2a9f3dd284c5816ae2bf3 (diff) | |
[FIX] user can change company
bzr revid: fp@tinyerp.com-20091223163711-65ayzf2jrp8ldm2t
Diffstat (limited to 'bin/addons')
| -rw-r--r-- | bin/addons/base/res/res_user.py | 2 |
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 |
