purchase_stock_picking_return_invoicing
Extend purchase order invoicing so supplier returns and refunds are managed coherently.
Key Features
- purchase.order: Provides a dedicated Create Refund action that prepares vendor credit notes from refundable returned quantities.
- purchase.order: Recomputes the invoice status so returned lines marked for refund reopen the order for billing.
- purchase.order: Shows a stat button that opens only the refund moves associated with the purchase order.
- purchase.order.line: Computes and stores the quantity returned to suppliers that is eligible for refund based on stock moves.
- purchase.order.line: Tracks the total refunded quantity by summing vendor refund lines converted to the purchase unit of measure.
- account.move: Removes auto-completed refund lines with zero quantity when linking a purchase refund to a purchase order.
- account.move: Exposes the purchase order selector on vendor refunds so they can reuse the purchase autocomplete logic.