rubyforgood / human-essentials

Human Essentials is an inventory management system for diaper, incontinence, and period-supply banks. It supports them in distributing to partners, tracking inventory, and reporting stats and analytics.
https://humanessentials.app
MIT License
454 stars 486 forks source link

[BUG]: Protect against mixed units during partner placing request #4579

Open awwaiid opened 2 months ago

awwaiid commented 2 months ago

Is there an existing issue for this?

Current Behavior

In the Units-Beta, if I log in as partner and place a request with the same item but differing units, the qty is merged and only one of the units is kept.

Expected Behavior

It should error when there are mixed units trying to be merged.

Steps To Reproduce

No response

Environment

- OS:
- Node:
- npm:

Criteria for Completion

No response

Anything else?

No response

Code of Conduct

github-actions[bot] commented 3 weeks ago

This issue is marked as stale due to no activity within 30 days. If no further activity is detected within 7 days, it will be unassigned.

github-actions[bot] commented 2 weeks ago

Automatically unassigned after 7 days of inactivity.