fix(stock): ignore reserved qty for stock levels in batch (backport #54790) (#54797)

fix(stock): ignore reserved qty for stock levels in batch (#54790)

(cherry picked from commit 0b6a372a52)

Co-authored-by: Pandiyan P <pandiyanpalani37@gmail.com>
This commit is contained in:
mergify[bot]
2026-05-08 12:35:22 +00:00
committed by GitHub
parent 4fbaea17f8
commit 338d1904c1

View File

@@ -70,6 +70,7 @@ frappe.ui.form.on("Batch", {
item_code: frm.doc.item,
for_stock_levels: for_stock_levels,
consider_negative_batches: 1,
ignore_reserved_stock: 1,
},
callback: (r) => {
if (!r.message || r.message.length === 0) {