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: allow delete of planned status
Brad Barbin2efd476d4b5e
diff --git a/apps/erp/app/modules/purchasing/ui/PurchaseOrder/PurchaseOrdersTable.tsx b/apps/erp/app/modules/purchasing/ui/PurchaseOrder/PurchaseOrdersTable.tsxindex 45821d8aa8..6caaf0928a 100644--- a/apps/erp/app/modules/purchasing/ui/PurchaseOrder/PurchaseOrdersTable.tsx+++ b/apps/erp/app/modules/purchasing/ui/PurchaseOrder/PurchaseOrdersTable.tsx@@ -364,7 +364,7 @@ const PurchaseOrdersTable = memo(disabled={!permissions.can("delete", "purchasing") ||selectedRows.some(- (row) => !["Draft"].includes(row.status ?? "")+ (row) => !["Draft", "Planned"].includes(row.status ?? ""))}destructive@@ -407,7 +407,7 @@ const PurchaseOrdersTable = memo(<MenuItemdisabled={!permissions.can("delete", "purchasing") ||- !["Draft"].includes(row.status ?? "")+ !["Draft", "Planned"].includes(row.status ?? "")}destructiveonClick={() => {