Wednesday, August 20, 2025
3 changes · 18.0
Enhancements to existing features
Inventory transfers with many serialized items now validate much faster. This reduces timeouts and delays for high-volume warehouse operations by creating related records in batches instead of one by one.
Original PR description
### Description: When using serial numbers, pickings with many move lines can cause performance issues during validation. This is due to `_update_reserved_quantity` updating quantities and creating move lines individually. By moving the creation outside `_update_reserved_quantity`, we can batch create move lines per move, significantly improving performances. ### Benchmark: | N° of mls | Before | After | |-----------|---------|-------| | 500 | 1:37 | 1:34 | | 15000 | Timeout | 3:30 | | 30000 | Timeout | 4:29 | ### Reference: opw-4889581 Forward-Port-Of: odoo/odoo#219471
Vendor refunds can now be auto-completed using related purchase orders or past refunds, similar to how vendor bills already work. This reduces manual entry and makes refund creation faster and more consistent for accounting and purchasing teams.
Original PR description
Before: - Users could auto-complete bills from purchase orders and past bills. - However, the auto-complete feature was not available for refunds; users had to manually create refunds even if a related purchase document already existed. After: - Added auto-complete functionality for vendor refunds. - Now, users can auto-complete refunds from purchase orders or past refunds. Impact: - Improves the user experience for creating vendor bills and refunds. - Reduces manual work for users when generating bills and refunds. task-4975196 Due to stability issues, this feature will be implemented from the master branch instead of version 18.0. See : https://github.com/odoo/odoo/pull/223179
UAE payroll now accounts for days when an employee is outside an active contract. This helps payroll calculations better reflect unpaid gaps and improves accuracy for local payroll processing.
Original PR description
days to UAE payroll task-4700453