Cédric Krier pushed to branch branch/default at Tryton / Tryton


Commits:
7e8fe7787a0d by Cédric Krier at 2025-09-15T13:18:39+02:00
Store in the cache all the lines to reconcile when searching for the best 
reconciliation

When the last line is pop from the debit/credit list, the access to the balance
may invalidate the cache of other records to fill the cache of the last one.
This may become very inefficient on large list of lines.
So by setting the record cache size to the size of the list of lines, we ensure
that no cache is invalidated during the calculation.

Closes #14230
- - - - -


2 changed files:

- modules/account/move.py
- modules/account/tests/test_module.py


View it on Heptapod: 
https://foss.heptapod.net/tryton/tryton/-/commit/7e8fe7787a0d48eb57988a9dde522794776c596b

-- 
View it on Heptapod: 
https://foss.heptapod.net/tryton/tryton/-/commit/7e8fe7787a0d48eb57988a9dde522794776c596b
You're receiving this email because of your account on foss.heptapod.net.

Reply via email to