What's New
ERPNext fix stock-manufacturing

TypeError in get_batches_by_oldest for mixed batch expiry

PA @Pandiyan5273 · #57413 · merged 24 Jul 2026

Fixes crash when a warehouse has both dated and non-expiring batches; expiry_date is nullable but sort was comparing directly.