sale_line_refund_to_invoice_qty
Allows sales and accounting teams to control whether refunded sales quantities should be reinvoiced on related sales orders.
Key Features
- account.move.reversal: Lets users mark credit notes for reinvoicing when reversing invoices and carries the choice to the created refund lines.
- account.move.line: Adds a reinvoice flag on refund lines to indicate whether refunded quantities should count toward reinvoicing.
- account.move: Propagates the reinvoice flag from the reversal wizard onto the copied credit note lines.
- res.company: Provides a company-level default, configurable in invoicing settings, for whether credit notes are reinvoiced.
- sale.order.line: Prevents credit notes without the reinvoice flag from reducing the invoiced quantity and tracks refunded quantities not to reinvoice.