summaryrefslogtreecommitdiff
path: root/doc/reference/javascript.rst
diff options
context:
space:
mode:
authorRaphael Collet <rco@openerp.com>2016-05-27 16:00:01 +0200
committerRaphael Collet <rco@openerp.com>2016-06-16 16:50:47 +0200
commit2c6f34d5685638534e7c1a53319253eaedb5583e (patch)
treec526d18e87bfb4858bc43b4ae5190fbb831b81e5 /doc/reference/javascript.rst
parent5161e25112f443401a11835798b0a2cf38ae2ef8 (diff)
[FIX] models: fix implementation of method `_check_m2m_recursion`
The former algorithm was incorrect: when checking two related nodes together, it returned as if a cycle was found (even when no cycle was present.) The new algorithm computes the transitive closure of the relation from the root nodes, and stops as soon as a cycle is found.
Diffstat (limited to 'doc/reference/javascript.rst')
0 files changed, 0 insertions, 0 deletions