medusajs / medusa

The world's most flexible commerce platform.
https://medusajs.com
MIT License
25.89k stars 2.59k forks source link

Unable to Fulfill Orders When Reservations Exhaust Available Inventory #6500

Closed JeffYYW closed 19 hours ago

JeffYYW commented 8 months ago

Bug report

Describe the bug

When all available inventory for a particular item is reserved due to existing orders, the admin dashboard prevents the creation of new fulfillments even when a reservation corresponds to the specific order.

System information

Medusa version (including plugins):

"@medusajs/medusa": "^1.17.3",
"@medusajs/inventory": "^1.10.0",
"@medusajs/stock-location": "^1.10.0",
"@medusajs/admin": "^7.1.1",

Node.js version: v21.1.0 Database: postgres

Steps to reproduce the behavior

  1. Set product inventory
  2. Place orders to exhaust remaining inventory
  3. Try to create fulfillments for those orders and select warehouse
  4. See disabled button in admin panel when trying to create fulfillment

Expected behavior

Admin should be able to create a fulfillment for an order when an item is reserved for that order but available inventory is 0

Screenshots

Screenshot 2024-02-26 at 10 54 32 AM Screenshot 2024-02-26 at 11 05 39 AM
github-actions[bot] commented 1 week ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 3 days.

github-actions[bot] commented 19 hours ago

This issue was closed because it has been stalled for 3 days with no activity.