Skip to content
Snippets Groups Projects
Commit 59c59cd8 authored by Raphael Collet's avatar Raphael Collet Committed by Julien Castiaux
Browse files

[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 3fbd86bc)

opw-2033493

closes odoo/odoo#35636

Signed-off-by: default avatarRaphael Collet (rco) <rco@openerp.com>
parent 2fc46a06
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment