Skip to content
Snippets Groups Projects
Commit 4ce06c23 authored by Raphael Collet's avatar Raphael Collet
Browse files

[FIX] openerp.api.Environment: move recomputation todos into a shared object

This fixes a bug which is usually triggered in module account_followup, but
does not occur deterministically.  Some recomputations of computed fields are
apparently missing.  Environment objects containing recomputations todos and
kept alive by a WeakSet, are removed by the Python garbage collector before
recomputation takes place.  We fix the bug by moving the recomputation todos in
a non-weakref'ed object.
parent 9a3b48de
No related branches found
No related tags found
No related merge requests found
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