-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Closed
Closed
Copy link
Description
Describe the bug
Since one of the latest updates, the “Minimum Quantity” field for accessories is mandatory. Leaving it blank produces a validation error, and entering 0 still fires a “Below minimum quantity” warning as soon as stock hits zero.
To Reproduce
- Go to Accessories → Add New (or Edit an existing accessory)
- Leave Minimum Quantity blank and click Save
- You get a validation error: “This field is required.”
- Enter
0as minimum and set current stock to0- A warning badge appears: “Below minimum quantity”
Expected behavior
- “Minimum Quantity” should be optional (blank = no minimum).
- If set to zero, stock = 0 should not produce a warning badge.
In many use cases obsolete or intentionally un-reordered accessories need no restock alert.
Additional context
In older versions the field was optional. This regression complicates operations when obsolete or rarely used accessories don’t require restocking alerts, forcing users to maintain meaningless minimum values.
Metadata
Metadata
Assignees
Labels
No labels