hotfix(medusa): Temporary multi-warehouse support for draft orders (#3665)

* remove reservations from draft order creation and show correct inventory

* add changeset

* add integration tests

* adjust inventory on payment if no inventory service is installed
This commit is contained in:
Philip Korsholm authored and GitHub committed 2023-04-04 11:36:51 +02:00
1 parent bb9df09e37
commit 748833383f
6 files changed
+340 -15

No files matched your search

@@ -125,7 +125,7 @@ const FulfillmentLine = ({
const validQuantity =
!locationId ||
(locationId &&
(!availableQuantity || quantities[item.id] < availableQuantity))
(!availableQuantity || quantities[item.id] <= availableQuantity))
React.useEffect(() => {
setErrors((errors) => {