Community mailing list archives

community@mail.odoo.com

Re: cache gone with sudo()

by
Holger Brunn
- 05/18/2016 03:28:26
> Why |sudo()| cleared the cache?

caching works per environment, and an environment is defined by the
cursor, the user and the context. So sudo doesn't actually clear the
cache, but makes you end up in another cache.


-- 
Therp - Maatwerk in open ontwikkeling

Holger Brunn - Ontwerp en implementatie

mail: holger@therp.nl
web: http://therp.nl
phone: +31 (0)20 3093096