Friday, August 22, 2025
1 change · saas-18.3
Enhancements to existing features
Manufacturing work orders can now be completed much faster when many are confirmed at once. This reduces waiting time for production teams, especially when several work orders belong to the same manufacturing order.
Original PR description
### Description: Improves the performance of `button_finish` when confirming many work orders. Previously, the method would update each work order individually, leading to slow performance. This PR changes the way the write is executed to do it by batch, which is much faster, especially when work orders share the same manufacturing order. ### Benchmark (in 18.0): | N° of work orders | Before | After | |-------------------|--------|-------| | 250 | 14s | 610ms | | 500 | 53s | 1s | ### Reference: opw-4957774 Forward-Port-Of: odoo/odoo#223588