fix: added limit

(cherry picked from commit 73643de612)
This commit is contained in:
rohitwaghchaure
2025-12-22 12:02:38 +05:30
committed by Mergify
parent aba3d7821c
commit 0e73c12add

View File

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