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 reverted
aashuca034f82d25d
diff --git a/apps/erp/app/modules/production/ui/Planning/ProductionPlanningTable.tsx b/apps/erp/app/modules/production/ui/Planning/ProductionPlanningTable.tsxindex 16eee54e2c..82cc689642 100644--- a/apps/erp/app/modules/production/ui/Planning/ProductionPlanningTable.tsx+++ b/apps/erp/app/modules/production/ui/Planning/ProductionPlanningTable.tsx@@ -401,41 +401,27 @@ const ProductionPlanningTable = ({);const isBlocked = row.original.manufacturingBlocked;const hasOrders = orders.length > 0 && orderQuantity > 0;- const makeButton = (- <Button- variant="secondary"- leftIcon={hasOrders ? undefined : <LuCircleCheck />}- isDisabled={isDisabled || isBlocked}- onClick={() => {- setSelectedItem(row.original);- }}- >- {isBlocked ? (- <Trans>Blocked</Trans>- ) : hasOrders ? (- <HStack>- <PulsingDot />- <span>Make {orderQuantity}</span>- </HStack>- ) : (- "Make"- )}- </Button>- );return (<div className="flex justify-end">- {isBlocked ? (- <Tooltip>- <TooltipTrigger asChild>- <span tabIndex={0}>{makeButton}</span>- </TooltipTrigger>- <TooltipContent>- {t`Manufacturing is blocked for this item, so a job cannot be created from planning.`}- </TooltipContent>- </Tooltip>- ) : (- makeButton- )}+ <Button+ variant="secondary"+ leftIcon={hasOrders ? undefined : <LuCircleCheck />}+ isDisabled={isDisabled || isBlocked}+ onClick={() => {+ setSelectedItem(row.original);+ }}+ >+ {isBlocked ? (+ "Blocked"+ ) : hasOrders ? (+ <HStack>+ <PulsingDot />+ <span>Make {orderQuantity}</span>+ </HStack>+ ) : (+ "Make"+ )}+ </Button></div>);}diff --git a/apps/erp/app/modules/production/ui/Schedule/Kanban/components/JobCard.tsx b/apps/erp/app/modules/production/ui/Schedule/Kanban/components/JobCard.tsxindex 1d2314c300..72b2b43f3e 100644--- a/apps/erp/app/modules/production/ui/Schedule/Kanban/components/JobCard.tsx+++ b/apps/erp/app/modules/production/ui/Schedule/Kanban/components/JobCard.tsx@@ -263,7 +263,7 @@ export function JobCard({ item, isOverlay, progressByItemId }: JobCardProps) {<LuTriangleAlert className="h-4 w-4 text-red-500 flex-shrink-0" /></TooltipTrigger><TooltipContent>- {t`Scheduling conflict: the computed start date is in the past. Move the due date out or reduce lead time.`}+ Scheduling conflict: operations cannot meet due date</TooltipContent></Tooltip>)}diff --git a/packages/locale/locales/de/erp.po b/packages/locale/locales/de/erp.poindex 379d8945f8..718183710e 100644--- a/packages/locale/locales/de/erp.po+++ b/packages/locale/locales/de/erp.po@@ -6764,9 +6764,6 @@ msgstr "Herstellerteilnummer"msgid "Manufacturing"msgstr "Herstellung"-msgid "Manufacturing is blocked for this item, so a job cannot be created from planning."-msgstr ""-msgid "Map Extracted Invoice Lines"msgstr "Extrahierte Rechnungspositionen zuordnen"@@ -10016,9 +10013,6 @@ msgstr "Geplante Wartungen"msgid "Schedules"msgstr "Zeitpläne"-msgid "Scheduling conflict: the computed start date is in the past. Move the due date out or reduce lead time."-msgstr ""-msgid "Scope"msgstr "Umfang"diff --git a/packages/locale/locales/en/erp.po b/packages/locale/locales/en/erp.poindex 46ffebe84e..4375387cc3 100644--- a/packages/locale/locales/en/erp.po+++ b/packages/locale/locales/en/erp.po@@ -6764,9 +6764,6 @@ msgstr "Manufacturer Part Number"msgid "Manufacturing"msgstr "Manufacturing"-msgid "Manufacturing is blocked for this item, so a job cannot be created from planning."-msgstr "Manufacturing is blocked for this item, so a job cannot be created from planning."-msgid "Map Extracted Invoice Lines"msgstr "Map Extracted Invoice Lines"@@ -10016,9 +10013,6 @@ msgstr "Scheduled Maintenances"msgid "Schedules"msgstr "Schedules"-msgid "Scheduling conflict: the computed start date is in the past. Move the due date out or reduce lead time."-msgstr "Scheduling conflict: the computed start date is in the past. Move the due date out or reduce lead time."-msgid "Scope"msgstr "Scope"diff --git a/packages/locale/locales/es/erp.po b/packages/locale/locales/es/erp.poindex 240109d584..af9b2edd7e 100644--- a/packages/locale/locales/es/erp.po+++ b/packages/locale/locales/es/erp.po@@ -6764,9 +6764,6 @@ msgstr "Número de Parte del Fabricante"msgid "Manufacturing"msgstr "Fabricación"-msgid "Manufacturing is blocked for this item, so a job cannot be created from planning."-msgstr ""-msgid "Map Extracted Invoice Lines"msgstr "Mapear Líneas de Factura Extraídas"@@ -10016,9 +10013,6 @@ msgstr "Mantenimientos Programados"msgid "Schedules"msgstr "Horarios"-msgid "Scheduling conflict: the computed start date is in the past. Move the due date out or reduce lead time."-msgstr ""-msgid "Scope"msgstr "Alcance"diff --git a/packages/locale/locales/fr/erp.po b/packages/locale/locales/fr/erp.poindex e429abba6a..03676154ba 100644--- a/packages/locale/locales/fr/erp.po+++ b/packages/locale/locales/fr/erp.po@@ -6764,9 +6764,6 @@ msgstr "Numéro de pièce du fabricant"msgid "Manufacturing"msgstr "Fabrication"-msgid "Manufacturing is blocked for this item, so a job cannot be created from planning."-msgstr ""-msgid "Map Extracted Invoice Lines"msgstr "Mapper les lignes de facture extraites"@@ -10016,9 +10013,6 @@ msgstr "Maintenances Planifiées"msgid "Schedules"msgstr "Calendriers"-msgid "Scheduling conflict: the computed start date is in the past. Move the due date out or reduce lead time."-msgstr ""-msgid "Scope"msgstr "Portée"diff --git a/packages/locale/locales/hi/erp.po b/packages/locale/locales/hi/erp.poindex fc483c9f89..684e104f2f 100644--- a/packages/locale/locales/hi/erp.po+++ b/packages/locale/locales/hi/erp.po@@ -6764,9 +6764,6 @@ msgstr "निर्माता भाग संख्या"msgid "Manufacturing"msgstr "विनिर्माण"-msgid "Manufacturing is blocked for this item, so a job cannot be created from planning."-msgstr ""-msgid "Map Extracted Invoice Lines"msgstr "निकाली गई चालान पंक्तियों को मैप करें"@@ -10016,9 +10013,6 @@ msgstr "अनुसूचित रखरखाव"msgid "Schedules"msgstr "शेड्यूल"-msgid "Scheduling conflict: the computed start date is in the past. Move the due date out or reduce lead time."-msgstr ""-msgid "Scope"msgstr "दायरा"diff --git a/packages/locale/locales/it/erp.po b/packages/locale/locales/it/erp.poindex 1db44f4c22..fe589983e2 100644--- a/packages/locale/locales/it/erp.po+++ b/packages/locale/locales/it/erp.po@@ -6764,9 +6764,6 @@ msgstr "Numero di parte del produttore"msgid "Manufacturing"msgstr "Produzione"-msgid "Manufacturing is blocked for this item, so a job cannot be created from planning."-msgstr ""-msgid "Map Extracted Invoice Lines"msgstr "Mappa Righe Fattura Estratte"@@ -10016,9 +10013,6 @@ msgstr "Manutenzioni Programmate"msgid "Schedules"msgstr "Pianificazioni"-msgid "Scheduling conflict: the computed start date is in the past. Move the due date out or reduce lead time."-msgstr ""-msgid "Scope"msgstr "Ambito"diff --git a/packages/locale/locales/ja/erp.po b/packages/locale/locales/ja/erp.poindex a6eaf40bce..28b3bc2214 100644--- a/packages/locale/locales/ja/erp.po+++ b/packages/locale/locales/ja/erp.po@@ -6764,9 +6764,6 @@ msgstr "メーカー部品番号"msgid "Manufacturing"msgstr "製造"-msgid "Manufacturing is blocked for this item, so a job cannot be created from planning."-msgstr ""-msgid "Map Extracted Invoice Lines"msgstr "抽出された請求書行をマップする"@@ -10016,9 +10013,6 @@ msgstr "定期メンテナンス"msgid "Schedules"msgstr "スケジュール"-msgid "Scheduling conflict: the computed start date is in the past. Move the due date out or reduce lead time."-msgstr ""-msgid "Scope"msgstr "スコープ"diff --git a/packages/locale/locales/pl/erp.po b/packages/locale/locales/pl/erp.poindex 7a48601cd6..91225789f6 100644--- a/packages/locale/locales/pl/erp.po+++ b/packages/locale/locales/pl/erp.po@@ -6764,9 +6764,6 @@ msgstr "Numer części producenta"msgid "Manufacturing"msgstr "Produkcja"-msgid "Manufacturing is blocked for this item, so a job cannot be created from planning."-msgstr ""-msgid "Map Extracted Invoice Lines"msgstr "Mapuj wyodrębnione linie faktury"@@ -10016,9 +10013,6 @@ msgstr "Zaplanowane konserwacje"msgid "Schedules"msgstr "Harmonogramy"-msgid "Scheduling conflict: the computed start date is in the past. Move the due date out or reduce lead time."-msgstr ""-msgid "Scope"msgstr "Zakres"diff --git a/packages/locale/locales/pt/erp.po b/packages/locale/locales/pt/erp.poindex 78c3411d57..19eb5b5850 100644--- a/packages/locale/locales/pt/erp.po+++ b/packages/locale/locales/pt/erp.po@@ -6764,9 +6764,6 @@ msgstr "Número de Peça do Fabricante"msgid "Manufacturing"msgstr "Fabricação"-msgid "Manufacturing is blocked for this item, so a job cannot be created from planning."-msgstr ""-msgid "Map Extracted Invoice Lines"msgstr "Mapear Linhas de Fatura Extraídas"@@ -10016,9 +10013,6 @@ msgstr "Manutenções Agendadas"msgid "Schedules"msgstr "Agendas"-msgid "Scheduling conflict: the computed start date is in the past. Move the due date out or reduce lead time."-msgstr ""-msgid "Scope"msgstr "Âmbito"diff --git a/packages/locale/locales/ru/erp.po b/packages/locale/locales/ru/erp.poindex 8585b588e4..6e361c1a16 100644--- a/packages/locale/locales/ru/erp.po+++ b/packages/locale/locales/ru/erp.po@@ -6764,9 +6764,6 @@ msgstr "Номер детали производителя"msgid "Manufacturing"msgstr "Производство"-msgid "Manufacturing is blocked for this item, so a job cannot be created from planning."-msgstr ""-msgid "Map Extracted Invoice Lines"msgstr "Сопоставить извлеченные строки счета"@@ -10016,9 +10013,6 @@ msgstr "Запланированное техническое обслуживаmsgid "Schedules"msgstr "Расписания"-msgid "Scheduling conflict: the computed start date is in the past. Move the due date out or reduce lead time."-msgstr ""-msgid "Scope"msgstr "Область действия"diff --git a/packages/locale/locales/tr/erp.po b/packages/locale/locales/tr/erp.poindex 321df6d195..df9c0e376a 100644--- a/packages/locale/locales/tr/erp.po+++ b/packages/locale/locales/tr/erp.po@@ -6764,9 +6764,6 @@ msgstr "Üretici Parça Numarası"msgid "Manufacturing"msgstr "Üretim"-msgid "Manufacturing is blocked for this item, so a job cannot be created from planning."-msgstr ""-msgid "Map Extracted Invoice Lines"msgstr "Çıkarılan Fatura Satırlarını Eşle"@@ -10016,9 +10013,6 @@ msgstr "Planlanmış Bakımlar"msgid "Schedules"msgstr "Programlar"-msgid "Scheduling conflict: the computed start date is in the past. Move the due date out or reduce lead time."-msgstr ""-msgid "Scope"msgstr "Kapsam"diff --git a/packages/locale/locales/zh/erp.po b/packages/locale/locales/zh/erp.poindex 83c096f504..7dcaa41f6f 100644--- a/packages/locale/locales/zh/erp.po+++ b/packages/locale/locales/zh/erp.po@@ -6764,9 +6764,6 @@ msgstr "制造商零件号"msgid "Manufacturing"msgstr "制造"-msgid "Manufacturing is blocked for this item, so a job cannot be created from planning."-msgstr ""-msgid "Map Extracted Invoice Lines"msgstr "映射提取的发票行项目"@@ -10016,9 +10013,6 @@ msgstr "定时维护"msgid "Schedules"msgstr "日程"-msgid "Scheduling conflict: the computed start date is in the past. Move the due date out or reduce lead time."-msgstr ""-msgid "Scope"msgstr "范围"