AmpersandHQ / magento2-disable-stock-reservation

This module disables the inventory reservation logic introduced as part of MSI in Magento 2.3.3
GNU Lesser General Public License v3.0
211 stars 60 forks source link

Order is not ready for pickup, when whole qty of a product is ordered. #108

Closed waleedbasit closed 1 year ago

waleedbasit commented 1 year ago

This error happens when you try to "notify order for pick up" for an order that happens created with the store pickup method and the whole qty of any product has been ordered. To reproduce this error:

  1. Order a product via store pickup and order the whole qty of that product so that it is out of stock after your order.
  2. Check that the product is out of stock and has qty 0 in the backend.
  3. Open the order in the backend and click the “Notify Order is Ready for Pickup” button.
  4. You should get an error message “The order is not ready for pickup“.

Expected: The customer has been notified and shipment created. Actual: An error message "Order is not ready for pickup." is displayed and no shipment is created.

Versions: Magento: 2.4.5-p2 PHP: 8.1