Skip to content

Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.

fix: remove maxValue on shipment line quantity

Brad Barbinedf446db6d1d
diff --git a/apps/erp/app/modules/inventory/ui/Shipments/ShipmentLines.tsx b/apps/erp/app/modules/inventory/ui/Shipments/ShipmentLines.tsx
index eed63dcc11..d046688cf7 100644
--- a/apps/erp/app/modules/inventory/ui/Shipments/ShipmentLines.tsx
+++ b/apps/erp/app/modules/inventory/ui/Shipments/ShipmentLines.tsx
@@ -1101,12 +1101,7 @@ function SplitShipmentLineModal({
name="locationId"
value={line.locationId ?? ""}
/>
- <Number
- name="quantity"
- label="Quantity"
- maxValue={(line.orderQuantity || 0) - 0.0001}
- minValue={0.0001}
- />
+ <Number name="quantity" label="Quantity" minValue={0.0001} />
</ModalBody>
<ModalFooter>
<Button variant="secondary" onClick={onClose}>