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
typecheck fixes
aashu52f61a15f244
diff --git a/apps/erp/app/routes/download.$token.tsx b/apps/erp/app/routes/download.$token.tsxindex 254ff5b267..c22aa3fcc9 100644--- a/apps/erp/app/routes/download.$token.tsx+++ b/apps/erp/app/routes/download.$token.tsx@@ -59,7 +59,7 @@ export async function loader({ params }: LoaderFunctionArgs) {try {await userClient.from("documentTransaction")- .insert({ documentId, type: "Download", userId });+ .insert({ documentId, type: "Download", companyId, userId });} catch {// ignore}