What's New
ERPNext • fix stock-manufacturing

Count same-instant rows in dimension negative stock check

MI @mihir-kandoi · #59398 · merged 25 Sep 2026

Two rows of the same voucher both passed negative stock check because it only looked at rows with posting_datetime strictly before the current row; now uses <=.