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(production): drop legacy readableIdWithRevision filter on job materials
Sidwebworkse7a369cfcfc2
diff --git a/apps/erp/app/routes/x+/job+/$jobId.materials.tsx b/apps/erp/app/routes/x+/job+/$jobId.materials.tsxindex b9940408a2..3d15fe20b8 100644--- a/apps/erp/app/routes/x+/job+/$jobId.materials.tsx+++ b/apps/erp/app/routes/x+/job+/$jobId.materials.tsx@@ -51,14 +51,20 @@ export async function loader({ request, params }: LoaderFunctionArgs) {offset,sorts,// orderStatus is filtered client-side — not a column the RPC can filter on.- filters: (filters ?? []).filter((f) => f.column !== "orderStatus")+ // readableIdWithRevision was the Item filter's column before it moved to+ // jobMaterialItemId; saved views and bookmarks from then still replay it,+ // and the RPC has no such column (42703).+ filters: (filters ?? []).filter(+ (f) =>+ f.column !== "orderStatus" && f.column !== "readableIdWithRevision"+ )}),getCompanySettings(client, companyId),getJobMaterialItemIds(client, jobId, companyId)]);if (materials.error) {- redirect(+ throw redirect(path.to.production,await flash(request,