We are currently experiencing an issue in the Saleor version 3.17.2 checkout flow related to the creation of orders. Specifically, when attempting to create an order for a product that has a previously placed but unfulfilled order, the system returns an "insufficient stock" error, even when there is available stock according to the Checkout create response.
Steps to Reproduce:
- Place an order for a product.
- Do not fulfill the order.
- Attempt to create a new order for the same product.
Expected Behavior:
The system should allow the creation of a new order for a product, as long as there is available stock according to the Checkout create response.
Actual Behavior:
An "insufficient stock" error is encountered, despite the availability of stock in the Checkout create response.
Screenshots:
- CheckoutLineProblemInsufficientStock in checkoutcreate/checkoutLinesUpdate mutation screenshot:

- Product variant with track inventory enabled:

Environment:
Saleor Core Version: 3.17.2
Additional Information:
This issue does not occur when there is no previous order for the product, and the Allocation is 0.
Note:
We have a single channel and a single warehouse in our configuration.