Daily updates from Odoo
Monday, November 10, 2025
1 change · 17.0
Enhancements to existing features
This change speeds up the calculation of accounting move amounts by preparing required data in advance instead of repeatedly loading it on demand. It significantly reduces processing time, memory use, and database queries when handling very large reconciliations, making large accounting operations much faster and more efficient.
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