Daily updates from Odoo
Thursday, February 12, 2026
1 change · saas-19.1
Code cleanup and technical improvements
This update optimizes how Odoo calculates employee dates, significantly speeding up processing for large teams. The change avoids multiple database queries, reducing processing time and improving overall HR system performance. This addresses a previous performance bottleneck related to version calculations.
Original PR description
Use batch computation for `_compute_dates`. Getting all values of `hr_presence_state` need that field. Implement `hr_presence_state` using *compute_sql* to have one implementation and add a limit for big databases because "Ugly hack". Related task that should be batched: #248045 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr