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: update the routes for make methods so vercel doesn't get confused
Brad Barbinfe5e8f1ea879
diff --git a/apps/erp/app/routes/x+/part+/$itemId.manufacturing.$methodId.$makeMethodId.tsx b/apps/erp/app/routes/x+/part+/$itemId.manufacturing.$methodId.make.$makeMethodId.tsxsimilarity index 100%rename from apps/erp/app/routes/x+/part+/$itemId.manufacturing.$methodId.$makeMethodId.tsxrename to apps/erp/app/routes/x+/part+/$itemId.manufacturing.$methodId.make.$makeMethodId.tsxdiff --git a/apps/erp/app/routes/x+/tool+/$itemId.manufacturing.$methodId.$makeMethodId.tsx b/apps/erp/app/routes/x+/tool+/$itemId.manufacturing.$methodId.make.$makeMethodId.tsxsimilarity index 100%rename from apps/erp/app/routes/x+/tool+/$itemId.manufacturing.$methodId.$makeMethodId.tsxrename to apps/erp/app/routes/x+/tool+/$itemId.manufacturing.$methodId.make.$makeMethodId.tsxdiff --git a/apps/erp/app/utils/path.ts b/apps/erp/app/utils/path.tsindex a91589c9a5..3d86f88aeb 100644--- a/apps/erp/app/utils/path.ts+++ b/apps/erp/app/utils/path.ts@@ -923,7 +923,7 @@ export const path = {makeMethodId: string) =>generatePath(- `${x}/part/${itemId}/manufacturing/${methodId}/${makeMethodId}`+ `${x}/part/${itemId}/manufacturing/${methodId}/make/${makeMethodId}`),partPlanning: (id: string) => generatePath(`${x}/part/${id}/planning`),partPlanningLocation: (id: string, locationId: string) =>@@ -1224,7 +1224,7 @@ export const path = {makeMethodId: string) =>generatePath(- `${x}/tool/${itemId}/manufacturing/${methodId}/${makeMethodId}`+ `${x}/tool/${itemId}/manufacturing/${methodId}/make/${makeMethodId}`),toolPlanning: (id: string) => generatePath(`${x}/tool/${id}/planning`),toolPlanningLocation: (id: string, locationId: string) =>