New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MSI-2043: disabled source selection when disabled manage stock #2049
MSI-2043: disabled source selection when disabled manage stock #2049
Conversation
I think we need to check this:
for each product, instead of entire site. |
Seems like we have to implement service which will check if the order has at least one stock manageable item. And show SSA according to result. And on SSA level we have to add the check whether item stock manageable or not. @maghamed I'm right? |
@VitaliyBoyko not sure that we need to introduce a dedicated service for these purposes. |
It looks like there is check in place:
I think solution would be to find the list by For example: Because of this, system will never find the product.
I think, finding the source item by |
…-engcom/msi into MSI-2043-disable-source-selection-when-disabled-manage-stock Conflicts: app/code/Magento/InventoryShippingAdminUi/Observer/NewShipmentLoadBefore.php
- Resolved unwanted dependencies
I've checked the first case, I click Ship and SSA page isn't showing(as expected) but if a click Back SSA page loads. |
...nventoryShippingAdminUi/Plugin/Sales/Block/Shipment/BackButtonUrlOnNewShipmentPagePlugin.php
Outdated
Show resolved
Hide resolved
...nventoryShippingAdminUi/Plugin/Sales/Block/Shipment/BackButtonUrlOnNewShipmentPagePlugin.php
Outdated
Show resolved
Hide resolved
Hi @ishakhsuvarov |
Hi @VitaliyBoyko, thank you for your contribution! |
Description
Disabled source selection algorithm when managing stock is disabled.
Fixed Issues (if relevant)
Manual testing scenarios
1
SSA page shouldn't be shown.
2
SSA page shouldn't be shown.
3
The issue with select sources for this scenario fixed in the scope of MSI-1912: Get sku from order configurable product with custom options #2012.