Merge pull request #51375 from aerele/fix/stock-reservation-entry

fix(stock): prevent excess stock reservation
This commit is contained in:
rohitwaghchaure
2025-12-30 16:49:18 +05:30
committed by GitHub

View File

@@ -709,6 +709,7 @@ def get_available_qty_to_reserve(
& (sre.warehouse == warehouse)
& (sre.delivered_qty < sre.reserved_qty)
)
.for_update()
)
if ignore_sre: