[FIX] res.users: context_get cache was not cleared properly, due to braindead impleme...
authorOlivier Dony <odo@openerp.com>
Wed, 19 Dec 2012 10:13:15 +0000 (11:13 +0100)
committerOlivier Dony <odo@openerp.com>
Wed, 19 Dec 2012 10:13:15 +0000 (11:13 +0100)
commit5ab624b11e173da99d3059e10d34aa35e4562de8
tree94c9de7e29a776ebee4f686c7dc7059e660e9e15
parent680ae2969de7216b69f002fdf233413caa13c2d0
[FIX] res.users: context_get cache was not cleared properly, due to braindead implementation of ormcache (skiparg is misused and off by 1 in clear_cache)

Discarding the cache completely is suboptimal but
makes the code simpler, and this is not performance
critical anyway. The cache is mostly useful during
module installation, which involves no call to clear_cache.

bzr revid: odo@openerp.com-20121219101315-1ccuwm6nvmov12zv
openerp/addons/base/res/res_users.py