fix: added limit

This commit is contained in:
rohitwaghchaure
2025-12-22 12:02:38 +05:30
committed by GitHub
parent c77c426652
commit 73643de612

View File

@@ -204,6 +204,7 @@ def update_stock(ctx, out, doc=None):
"item_code": ctx.item_code, "item_code": ctx.item_code,
"warehouse": ctx.warehouse, "warehouse": ctx.warehouse,
"based_on": frappe.db.get_single_value("Stock Settings", "pick_serial_and_batch_based_on"), "based_on": frappe.db.get_single_value("Stock Settings", "pick_serial_and_batch_based_on"),
"qty": out.stock_qty,
} }
) )