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: add key to forms so we can switch between different instances of the same screen
Brad Barbin5b50c6d2726c
diff --git a/apps/carbon/app/routes/x+/quote+/$id.lines.$lineId.assembly.$assemblyId.tsx b/apps/carbon/app/routes/x+/quote+/$id.lines.$lineId.assembly.$assemblyId.tsxindex 41150a1e6e..1ba20f312a 100644--- a/apps/carbon/app/routes/x+/quote+/$id.lines.$lineId.assembly.$assemblyId.tsx+++ b/apps/carbon/app/routes/x+/quote+/$id.lines.$lineId.assembly.$assemblyId.tsx@@ -97,7 +97,10 @@ export default function QuoteAssembly() {return (<>- <QuotationAssemblyForm initialValues={initialValues} />+ <QuotationAssemblyForm+ key={initialValues.id}+ initialValues={initialValues}+ /><Outlet /></>);diff --git a/apps/carbon/app/routes/x+/quote+/$id.lines.$lineId.details.tsx b/apps/carbon/app/routes/x+/quote+/$id.lines.$lineId.details.tsxindex f96c3afa7d..2b707c1f32 100644--- a/apps/carbon/app/routes/x+/quote+/$id.lines.$lineId.details.tsx+++ b/apps/carbon/app/routes/x+/quote+/$id.lines.$lineId.details.tsx@@ -96,7 +96,7 @@ export default function EditQuotationLineRoute() {return (<>- <QuotationLineForm initialValues={initialValues} />+ <QuotationLineForm key={initialValues.id} initialValues={initialValues} /><QuotationLineQuantitiesquotationLine={quotationLine}quotationLineQuantities={quotationLineQuantities}diff --git a/apps/carbon/app/routes/x+/quote+/$id.lines.$lineId.operation.$operationId.tsx b/apps/carbon/app/routes/x+/quote+/$id.lines.$lineId.operation.$operationId.tsxindex 1e25784305..35380b6174 100644--- a/apps/carbon/app/routes/x+/quote+/$id.lines.$lineId.operation.$operationId.tsx+++ b/apps/carbon/app/routes/x+/quote+/$id.lines.$lineId.operation.$operationId.tsx@@ -121,7 +121,10 @@ export default function QuoteOperation() {return (<>- <QuotationOperationForm initialValues={initialValues} />+ <QuotationOperationForm+ key={initialValues.id}+ initialValues={initialValues}+ /><QuotationMaterialLines quotationMaterials={quoteMaterials} /></>);