Contributors mailing list archives

contributors@odoo-community.org

Browse archives

Avatar

Re: Perhaps an Odoo Performance Issue ?!

by "Holger Brunn" <mail@hunki-enterprises.nl> - 05/10/2022 14:58:00
> Is this really necessary to invalid all ir.qweb, ir.model.access data, when

> I just change one default value of a user, or delete one IrModelData entry

> ?

no


> Is there a way to change this behavior ?

you can start at
https://github.com/OCA/OCB/blob/15.0/odoo/modules/registry.py#L557
and try to detect there what cache you actually need to clear.

But note this is tricky, as you'd also have to instruct other workers to only 
selectively clear their caches. Very error prone.


-- 
Your partner for the hard Odoo problems
https://hunki-enterprises.com

Reference