Skip to content

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.

fix: copy material number button

Sidwebworksaf35cabb08c3
diff --git a/apps/erp/app/modules/items/ui/Materials/MaterialProperties.tsx b/apps/erp/app/modules/items/ui/Materials/MaterialProperties.tsx
index e922fcf217..96272bd349 100644
--- a/apps/erp/app/modules/items/ui/Materials/MaterialProperties.tsx
+++ b/apps/erp/app/modules/items/ui/Materials/MaterialProperties.tsx
@@ -295,7 +295,9 @@ const MaterialProperties = () => {
size="sm"
className="p-1"
onClick={() =>
- copyToClipboard(routeData?.materialSummary?.id ?? "")
+ copyToClipboard(
+ routeData?.materialSummary?.readableId ?? ""
+ )
}
>
<LuCopy className="w-3 h-3" />