Tuesday, November 11, 2025
1 change · saas-18.2
Enhancements to existing features
Accounting totals now calculate much faster when processing very large journal entries. This reduces waiting time, memory usage, and database load during reconciliation-heavy workflows.
Original PR description
Currently performance on `_compute_amount()` is bottlenecked by `__get__()` calls on fields on `line_ids`. We tackle this bottleneck by warming the cache with `fetch()` Benchmark on reconciling 2 account moves with ~70k lines each | |Total Time|Allocated Memory|Queries| |----------|----------|----------------|-------| |Before |43.23s |2GB |993 | |After |18.60s |1GB |693 | opw-5098543 Forward-Port-Of: odoo/odoo#234656