Contributors mailing list archives

Browse archives


Re: Technical help on odoo cache framework

by Holger Brunn <> - 24/04/2020 15:38:31
> Hi, if you have cache issues, sometimes it may be useful to call

> `invalidate_cahce` (


> odoo/ [1] ) for the records/fields you are working on. It may

> help you fix your code or better understand why it isn't working as is.

very often the culprit is not declaring all dependencies in @api.depends. When 
you do that right, the framework takes care of updating the cache