What's New
ERPNext • fix accounting

Skip the source discount when no rows are added

MI @mihir-kandoi · #61296 · merged 19 Oct 2026

When an order adds no rows to a receipt, its header discount is cleared, so it no longer applies to the receipt's existing rows.