Daily updates from Odoo
Sunday, June 14, 2026
1 change · 19.0
Resolved issues and error corrections
This update resolves a bug where customer account refunds were causing incorrect settlement behavior in newer Odoo versions. The fix restores the original settlement process, ensuring refunds are handled consistently and preventing issues like orders reappearing after refunds and incorrect settlement calculations. This improves the reliability of customer account settlements.
Original PR description
Refunding a customer account order was introduced by this commit: https://github.com/odoo/enterprise/commit/5a1af0db647563cffcb796a257ad01c0d0c9af91 The goal was to show both the original order and…
Refunding a customer account order was introduced by this commit: https://github.com/odoo/enterprise/commit/5a1af0db647563cffcb796a257ad01c0d0c9af91 The goal was to show both the original order and its refund in the settlement list and allow settling them together. This works in 18.2 where the feature was introduced, but it causes issues in later versions. The main issues are: - Refunded order still appears after the full order is refunded and a new order was created and paid by customer account. - When two orders exist and the larger one is settled first, the second order cannot be settled correctly. How to reproduce: - Create OrderA with AmountA - Create OrderB with AmountB < AmountA - Settle OrderA - Try to settle OrderB: it cannot be found - Settling by amount shows incorrect values due to negative customer_due_total for settlement orders. The fix: Restore the original settlement behavior and handle customer account refunds the same way as settlement orders. opw-6192248 Forward-Port-Of: odoo/enterprise#118103 Forward-Port-Of: odoo/enterprise#117520