mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-16 08:05:00 +00:00
fix(stock): prevent excess stock reservation
This commit is contained in:
@@ -709,6 +709,7 @@ def get_available_qty_to_reserve(
|
||||
& (sre.warehouse == warehouse)
|
||||
& (sre.delivered_qty < sre.reserved_qty)
|
||||
)
|
||||
.for_update()
|
||||
)
|
||||
|
||||
if ignore_sre:
|
||||
|
||||
Reference in New Issue
Block a user