Draft docs in ERPNext 'Get Items From' dropdowns — the client-script filter that fixes it
The 'Get Items From' picker on Purchase Invoice, Delivery Note and Sales Order sometimes shows draft source docs, then throws an opaque error on Confirm. This post pins the mismatch to two specific ERPNext code paths and ships a copy-paste gate.
Manoj
Jul 24, 2026