Closed
Description
This issue is automatically created based on existing pull request: #27672: Fixed creating shipping labels in part-shipment
Fixed creating package when we ship not all items
Description (*)
When we use sources, we can create shipment for only one item from order. In this case when we try to create shipping label with shipment ("Create Shipping Label" Checkbox), the system requires to add all products to package (including products, which wasn't added to shipment) and validation fails.
Precondition(*)
Magento 2.4-develop
Inventory modules installed
Steps to reproduce (*)
- Have configured shipping method with ability to create Shipping Labels
- Have 2 products with available in 2 or more sources
- Add to cart and order both products with shipping method from point 0.
- Create shipment from admin panel: select source and enter qty only for one product (qty for second product should be 0)
- Click Proceed to Shipment.
- Check that only one product in Items to Ship
- Check checkbox "Create Shipping Label" and press "Submit Shipment..."
- Click "Add Products to Package". In the list there are both products.
- When we add to package only one product - the next button is disabled.
Expected result (*)
- In the list there is only one product
- The "Save" button is enabled
Actual result (*)
Two products available in the list
The "Save" button is disabled after adding one product
Metadata
Metadata
Assignees
Labels
The issue has been fixed in 2.4-develop branchGate 3 Passed. Manual verification of the issue completed. Issue is confirmedGate 1 Failed. Automatic verification of issue format is failedGate 4. Acknowledged. Issue is added to backlog and ready for developmentA defect with this priority could have functionality issues which are not to expectations.Indicates original Magento version for the Issue report.The issue has been reproduced on latest 2.4-develop branchMajor restrictions or short-term circumventions are required until a fix is available.
Type
Projects
Status
Done