diff options
| author | Raphael Collet <rco@openerp.com> | 2016-06-29 11:57:00 +0200 |
|---|---|---|
| committer | Raphael Collet <rco@openerp.com> | 2016-07-01 10:49:27 +0200 |
| commit | 5560ac4a04ce21407e019965bc1a943b31e88211 (patch) | |
| tree | eced56dcb28d6a5b2282fd2e812c4919c97f1033 /doc/reference/javascript.rst | |
| parent | c03b29b8b2cd1af1845fb60480ee0807a140942a (diff) | |
[FIX] models: generalize the protection mechanism to not recompute some fields
The protection prevents fields to be invalidated/recomputed on some records.
This mechanism is useful against accidental cache invalidation when computing
or inversing fields. It also prevents to trigger the recomputation of fields
before and/or after their inversion.
Add a test on stored field with compute and inverse methods: the test checks
how many times the compute and inverse methods are invoked in several cases.
Essentially, the field should not be recomputed when it is written.
Diffstat (limited to 'doc/reference/javascript.rst')
0 files changed, 0 insertions, 0 deletions
