Skip to content

Cannot ship products that have less than 1 qty #36841

@kevinruscoe

Description

@kevinruscoe

Preconditions and environment

  • Magento version
    2.4.5-p1

  • Anything else that would help a developer reproduce the bug
    Clean install, no additional modules.

Steps to reproduce

  1. Create a new product.
  2. Set the "Minimum Qty Allowed in Shopping Cart" to 0.25 and the "Qty Uses Decimals" to "Yes".
  3. Create a new order, adding the newly created product to the order, with the qty set to 0.5.
  4. Click "Ship" within the order.

Expected result

A shipment is made, with a product with the quantity of 0.5 .

Actual result

The "Items to Ship" table will be blank. Clicking "Submit Shipment" gives the error "Shipment Document Validation Error(s): You can't create a shipment without products."

Additional information

I discovered this problem when upgrading from 2.4.3-p1 to 2.4.4-p2, but it also exists on 2.4.5-p1.

Invoices seem to get generated fine with 0.5 being invoiced, and orders with 1.5 works.

Release note

No response

Triage and priority

  • Severity: S0 - Affects critical data or functionality and leaves users without workaround.
  • Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
  • Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
  • Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
  • Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions