diff options
| author | Raphael Collet <rco@odoo.com> | 2017-09-05 14:36:20 +0200 |
|---|---|---|
| committer | Raphael Collet <rco@odoo.com> | 2017-09-08 13:21:00 +0200 |
| commit | d7190a3fd043639ec21e91ddb30481b2989842c5 (patch) | |
| tree | 9bda71f7db4dc71d461ab42ac7ba364a4c02ba01 /addons/procurement/data/procurement_data.xml | |
| parent | 32a58c0db3c0d666e704a4c8af33b0be0a9608e4 (diff) | |
[IMP] api: reindex the record cache to improve cache hit
The record cache is indexed by `(field, record_id, key)`, where `key` depends
on the environment. The key is either `(cr, uid, context)` or `(cr, uid)`,
depending on whether the field's value is context-dependent. As most fields
are not context-dependent, this should avoid some cache prefetching when
swiching context.
Diffstat (limited to 'addons/procurement/data/procurement_data.xml')
0 files changed, 0 insertions, 0 deletions
