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.
TypeScript ai-agentsbill-of-materialserpinventory-managementleanmanufacturingmanufacturing-execution-systemmcp-servermesmrpopen-source-erppostgresqlproduction-planningqmsquality-management-systemreact-routerself-hostedsupabasetraceabilitytypescript
fix: set default to set quantity in inventory adjustment modal
Brad Barbind1382616bb5c
diff --git a/apps/erp/app/modules/inventory/ui/Inventory/InventoryShelves.tsx b/apps/erp/app/modules/inventory/ui/Inventory/InventoryShelves.tsxindex 37252f9361..b21589f66d 100644--- a/apps/erp/app/modules/inventory/ui/Inventory/InventoryShelves.tsx+++ b/apps/erp/app/modules/inventory/ui/Inventory/InventoryShelves.tsx@@ -78,8 +78,6 @@ const InventoryShelves = ({const [selectedShelfId, setSelectedShelfId] = useState<string | null>(null);const openAdjustmentModal = (shelfId?: string) => {- console.log(shelfId);- console.log(`setting selected shelf id to ${shelfId}`);setSelectedShelfId(shelfId || null);adjustmentModal.onOpen();};@@ -182,7 +180,7 @@ const InventoryShelves = ({quantity: quantity,locationId: pickMethod.locationId,shelfId: selectedShelfId || undefined,- adjustmentType: isSerial ? "Positive Adjmt." : "Set Quantity",+ adjustmentType: "Set Quantity",trackedEntityId: nanoid(),}}onSubmit={adjustmentModal.onClose}