diff options
| author | Raphael Collet <rco@odoo.com> | 2018-01-04 14:22:17 +0000 |
|---|---|---|
| committer | Julien Castiaux <juc@odoo.com> | 2019-08-12 09:18:31 +0000 |
| commit | 59c59cd8a04af18cedd5005222de6744a215d903 (patch) | |
| tree | b864e3aa1cfdc872a4380ebff4b985ca62bbd47a /addons/web_editor/static/src | |
| parent | 2fc46a064d36d9de2c6debf9582976f938e3568b (diff) | |
[FIX] field: compute transitive dependencies over non-stored fields
In other words, when a field F depends on a non-stored field G, it also depends
on G's dependencies. This guarantees that whenever a dependency of G is
modified, F will be invalidated and marked to recompute (if necessary).
The transitive closure of dependencies is not computed over stored fields.
Anyway stored fields already trigger the recomputation of their dependent
fields during their recomputation. The performance impact on the loading of a
registry is negligible (less than 1%), and the increase of recomputation
triggers is small (less than 10%).
(cherry picked from commit 3fbd86bcbe6dffe923e10d4690ee302c6a779f90)
opw-2033493
closes odoo/odoo#35636
Signed-off-by: Raphael Collet (rco) <rco@openerp.com>
Diffstat (limited to 'addons/web_editor/static/src')
0 files changed, 0 insertions, 0 deletions
