Multi Source Inventory - Stocks sources of other website's showing on applying store switcher in admin
- Dominant language
- PHP
- Stars
- 357
- Forks
- 262
- PR merge metrics
- No merged PRs in 30d
Description
### Preconditions (*)
1. Magento CE 2.3.4
### Steps to reproduce (*)
1. Create 2 websites - UAE(default) & Oman
2. Create 2 inventory sources one each for the above websites under Stores > Inventory > Sources
- UAE
- Oman
3. Create 2 inventory stocks under Stores > Inventory > Stocks and assign them to above websites (Sales Channel) and assign one source to each UAE and Oman respectively
- UAE (Stock) => UAE (Source) - UAE (Sales Channel)
- Oman (Stock) => Oman (Source) - Oman (Sales Channel)

4. Go to any product under Catalog > Products and tag it to both the websites
5. Assign and Set qty per source (UAE & Oman)
6. Do reindexing
7. Now in Product Edit form in store switcher, switch store to Oman in the backend

8. Product shows both the sources (UAE & Oman)

### Expected result (*)
1. On switching to Oman store in product edit form, it should show only inventory source Oman. Since we had assigned Sales Channel Oman to the Oman stock in Step 2 above. This is creating confusion for our client.
### Actual result (*)
1. On switching to Oman store in product edit form, it is showing both the inventory sources UAE & Oman.
Contributor guide
Assessment
This issue has not been assessed yet.