Skip to Content

Contributors

Re: Perhaps an Odoo Performance Issue ?!

> 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

by "Holger Brunn" <mail@hunki-enterprises.nl> - 03:01 - 5 Oct 2022

Reference