What's New
ERPNext fix stock-manufacturing

Value batched packed-item returns from the original bundle

SU @Sudharsanan11 · #57327 · merged 28 Jul 2026

Return Delivery Notes / Sales Invoices built via the use_serial_batch_fields path had incorrect bundle valuations because the return bundle's voucher_detail_no stayed the Packed Item instead of remapping to the parent DN/SI Item. Valuation lookup now resolves via the parent_detail_docname when the direct lookup fails.