[FIX] remove cache on used function

bzr revid: al@openerp.com-20110824153042-w6wgegxjruu06ln1
This commit is contained in:
Antony Lesuisse
2011-08-24 17:30:42 +02:00
parent 362399c6ac
commit 8d08cbf561
-1
View File
@@ -373,7 +373,6 @@ class users(osv.osv):
res = super(users, self).write(cr, uid, ids, values, context=context)
# clear caches linked to the users
self.company_get.clear_cache(self)
self.pool.get('ir.model.access').call_cache_clearing_methods(cr)
clear = partial(self.pool.get('ir.rule').clear_cache, cr)
map(clear, ids)