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:
@@ -125,7 +125,7 @@ const FulfillmentLine = ({
|
||||
const validQuantity =
|
||||
!locationId ||
|
||||
(locationId &&
|
||||
(!availableQuantity || quantities[item.id] < availableQuantity))
|
||||
(!availableQuantity || quantities[item.id] <= availableQuantity))
|
||||
|
||||
React.useEffect(() => {
|
||||
setErrors((errors) => {
|
||||
|
||||
Reference in New Issue
Block a user