What happended?
Reproduce steps
- Create a fulfillment for an order
- Set one of the products to negative stock
2.1 this can happen when stock is updated by external fulfiller due to backorders)
- Cancel fullment is not possible
Workaround:
- Set the specific items to inventory_quantity 0
- Cancel fullfilment
- Set the specif items to inventory_quantity 0 (this is important, otherwise items has gained the stock of cancelled amount in 2)
Expected behavior
The fulfillment is cancelled.
Actual behavior
The fulfillment is not cancelled and received the error, Not enough stock available for item
What happended?
Reproduce steps
2.1 this can happen when stock is updated by external fulfiller due to backorders)
Workaround:
Expected behavior
The fulfillment is cancelled.
Actual behavior
The fulfillment is not cancelled and received the error,
Not enough stock available for item