magento / magento/inventory

Introduce Source Reservations (MSI Show delivery times per source and see source from which the product was sold)

Open
#3,232 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Progress: ready for grooming
Dominant language
PHP
Stars
357
Forks
262
PR merge metrics
No merged PRs in 30d

Description

### Description (*)
Currently stock is reserved as a global qty from salable qty. There is no link to any source on order creation, but later in the process during shipment. For many merchants this is a problem and deviation from previous versions and M1. One option would be to disable source reservation #3076 but reservations are here to stay. A better solution is to add a source to the reservations.

The problem currently is:

- We need to know the stock source allocation at invoicing (or quote or order, but asap)
- We want to know the stock source allocation when customer is browsing the website to estimate delivery time

### Expected behavior (*)

Stock is allocated to the source during sale

### Benefits

Merchants need more specific reservations as exaplained above

### Additional information

Source reservations can be made as an option, turn on/off

Building blocks

- Product presentation: 'know' where it is coming from
- Order creation: assign stock reservation to source
- Shipment: nullify the reservation
- Additional: create method to change source allocation from A to B
- Credit memo/Cancel: revert reservations

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the existing global reservation flow from order creation through shipment, then review each building block listed in the issue. Done should cover source allocation during sale, source visibility for delivery estimates, shipment cleanup, source changes, and reservation reversal on credit memo or cancellation, with the option to enable or disable source reservations.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.