What's New
ERPNext • refactor stock-manufacturing

Use db.count for the empty ledger check

SU @Sudharsanan11 · #58486 · merged 28 Aug 2026

Consistency update: uses `frappe.db.count` instead of `frappe.db.exists` for the empty ledger check.