What's New
ERPNext • perf stock-manufacturing

Avoid redundant bom cost_allocation_per query per finished item

PA @Pandiyan5273 · #57099 · merged 14 Jul 2026

N+1 query pattern was fetching BOM cost_allocation_per inside loop for each finished item instead of once per document.