Skip to content

Allow empty qty-item field when creating a shipment #4828

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

Merged
merged 1 commit into from
Jun 20, 2025

Conversation

loekvangool
Copy link
Contributor

While creating a shipment, one has to put a 0 into every order line that is out of scope for this shipment, empty values are blocked by JS, while the PHP code can take empty values without issue.

This PR allows simply clearing the qty-item field.

Manual testing scenarios (*)

  1. Try and see if there are any logs, errors, or functional bugs

While creating a shipment, one has to put a `0` into every order line that is out of scope for this shipment, empty values are blocked by JS, while the PHP code can take empty values without issue.

This PR allows simply clearing the `qty-item` field.
@github-actions github-actions bot added Template : admin Relates to admin template Component: Sales Relates to Mage_Sales Component: Adminhtml Relates to Mage_Adminhtml labels Jun 9, 2025
Copy link

sonarqubecloud bot commented Jun 9, 2025

@sreichel sreichel added this to the 20.15.0 milestone Jun 20, 2025
Copy link
Contributor

@sreichel sreichel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works for me.

@addison74 addison74 merged commit 7c1dcc6 into OpenMage:main Jun 20, 2025
16 checks passed
fballiano added a commit to MahoCommerce/maho that referenced this pull request Jun 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Adminhtml Relates to Mage_Adminhtml Component: Sales Relates to Mage_Sales enhancement Template : admin Relates to admin template
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants