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(items): save mpn when creating a material
Raula2d4c4d51538
diff --git a/apps/erp/app/modules/items/items.service.ts b/apps/erp/app/modules/items/items.service.tsindex ae5fa9fecd..eec072ee87 100644--- a/apps/erp/app/modules/items/items.service.ts+++ b/apps/erp/app/modules/items/items.service.ts@@ -5340,6 +5340,7 @@ export async function upsertMaterial(readableId,name,description: material.description,+ mpn: material.mpn,type: "Material",replenishmentSystem: material.replenishmentSystem,defaultMethodType: material.defaultMethodType,@@ -5388,6 +5389,7 @@ export async function upsertMaterial(readableId,name,description: material.description,+ mpn: material.mpn,type: "Material",replenishmentSystem: material.replenishmentSystem,defaultMethodType: material.defaultMethodType,