How to do it...

The classes of this ORM cache are available at /odoo/tools/cache.py. In order to use these in any file, you will need to import them as follows:

from odoo import tools

After importing the classes, you can use the ORM cache decorators. Odoo provides different types of in-memory cache decorator. We'll take a look at each of these in the following sections.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset