Skip to content

[Issue] Fixed creating shipping labels in part-shipment #29552

Closed
@m2-assistant

Description

@m2-assistant

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 (*)

  1. Have configured shipping method with ability to create Shipping Labels
  2. Have 2 products with available in 2 or more sources
  3. Add to cart and order both products with shipping method from point 0.
  4. Create shipment from admin panel: select source and enter qty only for one product (qty for second product should be 0)
  5. Click Proceed to Shipment.
  6. Check that only one product in Items to Ship
  7. Check checkbox "Create Shipping Label" and press "Submit Shipment..."
  8. Click "Add Products to Package". In the list there are both products.
  9. When we add to package only one product - the next button is disabled.

Expected result (*)

  1. In the list there is only one product
  2. 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

Component: ShippingFixed in 2.4.xThe issue has been fixed in 2.4-develop branchIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is not validGate 1 Failed. Automatic verification of issue format is failedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentPriority: P2A defect with this priority could have functionality issues which are not to expectations.Progress: doneReported on 2.4.0Indicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branchSeverity: S2Major restrictions or short-term circumventions are required until a fix is available.

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions