mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-13 09:43:49 +00:00
fix: added limit
This commit is contained in:
@@ -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,
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user