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: disable part description in bill of material

Brad Barbin2cc48a6aae12
diff --git a/apps/erp/app/modules/items/ui/Item/BillOfMaterial.tsx b/apps/erp/app/modules/items/ui/Item/BillOfMaterial.tsx
index db329702a4..72b281cbe9 100644
--- a/apps/erp/app/modules/items/ui/Item/BillOfMaterial.tsx
+++ b/apps/erp/app/modules/items/ui/Item/BillOfMaterial.tsx
@@ -667,7 +667,7 @@ function MaterialForm({
<InputControlled
name="description"
label="Description"
- isReadOnly
+ isDisabled
value={itemData.description}
isConfigured={rulesByField.has(key("description"))}
onConfigure={
diff --git a/apps/erp/app/modules/items/ui/Parts/usePartNavigation.tsx b/apps/erp/app/modules/items/ui/Parts/usePartNavigation.tsx
index b461e943bb..498fbc2090 100644
--- a/apps/erp/app/modules/items/ui/Parts/usePartNavigation.tsx
+++ b/apps/erp/app/modules/items/ui/Parts/usePartNavigation.tsx
@@ -1,8 +1,8 @@
import { useParams } from "@remix-run/react";
-import { BiListCheck } from "react-icons/bi";
import {
LuBox,
+ LuFactory,
LuFileText,
LuReceipt,
LuShoppingCart,
@@ -49,7 +49,7 @@ export function usePartNavigation() {
to: path.to.partManufacturing(itemId),
isDisabled: replenishment === "Buy",
role: ["employee"],
- icon: BiListCheck,
+ icon: LuFactory,
shortcut: "Command+Shift+m",
},
{
diff --git a/apps/erp/app/modules/items/ui/Tools/useToolNavigation.tsx b/apps/erp/app/modules/items/ui/Tools/useToolNavigation.tsx
index bbb0477967..2507298f02 100644
--- a/apps/erp/app/modules/items/ui/Tools/useToolNavigation.tsx
+++ b/apps/erp/app/modules/items/ui/Tools/useToolNavigation.tsx
@@ -1,7 +1,12 @@
import { useParams } from "@remix-run/react";
-import { BiListCheck } from "react-icons/bi";
-import { LuBox, LuFileText, LuShoppingCart, LuTags } from "react-icons/lu";
+import {
+ LuBox,
+ LuFactory,
+ LuFileText,
+ LuShoppingCart,
+ LuTags,
+} from "react-icons/lu";
import { usePermissions, useRouteData } from "~/hooks";
import type { Role } from "~/types";
import { path } from "~/utils/path";
@@ -43,7 +48,7 @@ export function useToolNavigation() {
to: path.to.toolManufacturing(itemId),
isDisabled: replenishment === "Buy",
role: ["employee"],
- icon: BiListCheck,
+ icon: LuFactory,
shortcut: "Command+Shift+m",
},
{