-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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.
- Loading branch information
Showing
2 changed files
with
79 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters