Friday, November 29, 2024
1 change · 18.0
Enhancements to existing features
When a refund credit note is created from a sales order in a straightforward delivered-products flow, it is now connected to the invoice it reverses. This makes refund records clearer for users and improves traceability between invoices and credit notes without changing other refund scenarios.
Original PR description
In the context of a sale order with products invoiced on delivery, if there's a refund, it is possible to create a credit note from the sale order (by clicking "Create Invoice" button). From a user perspective, it would be logic if you created an invoice, to have the credit note being the reversal of this invoice. Here the goal is to set when a `reversed_entry_id` for this simple case, and nothing otherwise. task-3862316