Daily updates from Odoo
Wednesday, November 5, 2025
1 change
Resolved issues and error corrections
Orders are now synchronized one at a time instead of in large batches. This reduces the risk of timeouts and synchronization errors, helping prevent lost or partially processed orders, including orders that need invoicing. The loyalty flow was also adjusted so coupon programs are confirmed correctly for each order.
Original PR description
`syncAllOrders` method is now splitting the list of orders to synchronize them one by one. This allows to have better control over each order synchronization and error handling. Some customer were experiencing issues when synchronizing too many orders at once, leading to lost orders or orders not being synchronized properly. For example, synchronizing orders that needs to be invoiced takes too long and can lead to timeout issues. By synchronizing orders one by one, we ensure that each order is properly synchronized before moving to the next one. --- Modification in `pos_loyalty` module to adapt to this change: The `confirm_coupon_programs` method is now called for each order individually, instead of being called once for all orders in the `payment_screen`. This ensures that coupon programs are confirmed correctly for each order even when orders synchronization is delayed Forward-Port-Of: odoo/odoo#232691 Forward-Port-Of: odoo/odoo#232073