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: allow null shelf

Brad Barbinb0fc35e2e4b5
diff --git a/apps/erp/app/modules/inventory/ui/Inventory/InventoryShelves.tsx b/apps/erp/app/modules/inventory/ui/Inventory/InventoryShelves.tsx
index 22f09ba67f..c84f58d23d 100644
--- a/apps/erp/app/modules/inventory/ui/Inventory/InventoryShelves.tsx
+++ b/apps/erp/app/modules/inventory/ui/Inventory/InventoryShelves.tsx
@@ -78,7 +78,7 @@ const InventoryShelves = ({
const [selectedShelfId, setSelectedShelfId] = useState<string | null>(null);
const openAdjustmentModal = (shelfId?: string) => {
- setSelectedShelfId(shelfId || pickMethod.defaultShelfId || null);
+ setSelectedShelfId(shelfId || null);
adjustmentModal.onOpen();
};