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
fixes
aashu8e6beb5ce984
diff --git a/apps/erp/app/modules/items/ui/Item/BillOfMaterial.tsx b/apps/erp/app/modules/items/ui/Item/BillOfMaterial.tsxindex a0aca8dfeb..a16ac3f2f1 100644--- a/apps/erp/app/modules/items/ui/Item/BillOfMaterial.tsx+++ b/apps/erp/app/modules/items/ui/Item/BillOfMaterial.tsx@@ -511,7 +511,26 @@ const BillOfMaterial = ({<HStack className="justify-between"><CardHeader><CardTitle className="flex flex-row items-center gap-2">- <Trans>Bill of Material</Trans> {isReadOnly && <LuLock />}+ <Trans>Bill of Material</Trans>+ {isReadOnly && (+ <Tooltip>+ <TooltipTrigger tabIndex={-1} className="text-muted-foreground">+ <LuLock />+ </TooltipTrigger>+ <TooltipContent className="max-w-xs">+ {makeMethod.status !== "Draft" ? (+ <Trans>+ This method version is read-only. Create a new version+ from the method menu to make changes.+ </Trans>+ ) : (+ <Trans>+ You don't have permission to edit this bill of material.+ </Trans>+ )}+ </TooltipContent>+ </Tooltip>+ )}</CardTitle></CardHeader>diff --git a/apps/erp/app/modules/items/ui/Item/MakeMethodVersionStatus.tsx b/apps/erp/app/modules/items/ui/Item/MakeMethodVersionStatus.tsxindex e3b8612a15..bb8666c36a 100644--- a/apps/erp/app/modules/items/ui/Item/MakeMethodVersionStatus.tsx+++ b/apps/erp/app/modules/items/ui/Item/MakeMethodVersionStatus.tsx@@ -1,5 +1,5 @@import type { Database } from "@carbon/database";-import { Status, Tooltip, TooltipContent, TooltipTrigger } from "@carbon/react";+import { Status } from "@carbon/react";import { Trans } from "@lingui/react/macro";type MakeMethodVersionStatusProps = {@@ -11,47 +11,28 @@ const MakeMethodVersionStatus = ({status,isActive}: MakeMethodVersionStatusProps) => {- let badge: JSX.Element | null = null;-switch (status) {case "Draft":- badge = (+ return (<Status color="gray"><Trans>Draft</Trans></Status>);- break;case "Active":- badge = (+ return (<Status color="green"><Trans>Active</Trans></Status>);- break;case "Archived":- badge = (+ return (<Status color="orange"><Trans>Archived</Trans></Status>);- break;default:return null;}-- return (- <Tooltip>- <TooltipTrigger asChild>- <span className="inline-flex cursor-help">{badge}</span>- </TooltipTrigger>- <TooltipContent className="max-w-xs">- <Trans>- Draft = editable · Active = read-only (create a new version to change)- · Archived = history- </Trans>- </TooltipContent>- </Tooltip>- );};export default MakeMethodVersionStatus;diff --git a/apps/erp/app/modules/production/ui/Procedures/ProcedureProperties.tsx b/apps/erp/app/modules/production/ui/Procedures/ProcedureProperties.tsxindex ea9415949a..0a0dcee2ea 100644--- a/apps/erp/app/modules/production/ui/Procedures/ProcedureProperties.tsx+++ b/apps/erp/app/modules/production/ui/Procedures/ProcedureProperties.tsx@@ -172,23 +172,12 @@ const ProcedureProperties = () => {<span className="text-sm tracking-tight"><Selectlabel={t`Status`}+ termId="procedure-status"name="status"inline={(value) => (- <Tooltip>- <TooltipTrigger asChild>- <span className="inline-flex cursor-help">- <ProcedureStatus- status={value as "Draft" | "Active" | "Archived"}- />- </span>- </TooltipTrigger>- <TooltipContent className="max-w-xs">- <Trans>- Draft = editable · Active = in use, create a new version to- change · Archived = retired- </Trans>- </TooltipContent>- </Tooltip>+ <ProcedureStatus+ status={value as "Draft" | "Active" | "Archived"}+ />)}options={procedureStatus.map((status) => ({value: status,diff --git a/packages/glossary/src/terms.ts b/packages/glossary/src/terms.tsindex 38f05415a8..6c48493539 100644--- a/packages/glossary/src/terms.ts+++ b/packages/glossary/src/terms.ts@@ -1284,6 +1284,10 @@ export const terms = {term: msg`Version`,definition: msg`The version stamp for this procedure; new versions create a copy that supersedes the previous one without deleting it.`},+ "procedure-status": {+ term: msg`Status`,+ definition: msg`Draft is editable; Active is in use and requires a new version to change; Archived is retired.`+ },// ── Purchasing: Supplier (SupplierForm, SupplierPaymentForm, SupplierShippingForm) ──"supplier-status": {diff --git a/packages/locale/locales/de/erp.po b/packages/locale/locales/de/erp.poindex d163d84e2f..11a671a257 100644--- a/packages/locale/locales/de/erp.po+++ b/packages/locale/locales/de/erp.po@@ -3888,10 +3888,7 @@ msgstr "Vorlage herunterladen"msgid "Draft"msgstr "Entwurf"-msgid "Draft = editable · Active = in use, create a new version to change · Archived = retired"-msgstr ""--msgid "Draft = editable · Active = read-only (create a new version to change) · Archived = history"+msgid "Draft is editable; Active is in use and requires a new version to change; Archived is retired."msgstr ""msgid "Drag & drop files, or click to browse"@@ -12090,6 +12087,9 @@ msgstr "Dieses Los ist abgelaufen und kann nicht entnommen werden."msgid "This may take a moment. Hang tight."msgstr "Das kann einen Moment dauern. Bleib dran."+msgid "This method version is read-only. Create a new version from the method menu to make changes."+msgstr ""+msgid "This Month"msgstr "Dieser Monat"@@ -13613,6 +13613,9 @@ msgid """ to do with the extra parts?"msgstr "Sie haben {leftoverQuantity} weitere {0} als die bestellte Menge von {1} fertiggestellt. Was möchten Sie mit den zusätzlichen Teilen tun?"+msgid "You don't have permission to edit this bill of material."+msgstr ""+msgid "You drive it; we make sure it's done right. Expert eyes on your setup, data, and go-live."msgstr "Du bestimmst das Tempo; wir sorgen dafür, dass es richtig gemacht wird. Fachkundige Augen auf dein Setup, deine Daten und deinen Go-Live."diff --git a/packages/locale/locales/en/erp.po b/packages/locale/locales/en/erp.poindex 6fafc69797..498a3597f6 100644--- a/packages/locale/locales/en/erp.po+++ b/packages/locale/locales/en/erp.po@@ -3888,11 +3888,8 @@ msgstr "Download template"msgid "Draft"msgstr "Draft"-msgid "Draft = editable · Active = in use, create a new version to change · Archived = retired"-msgstr "Draft = editable · Active = in use, create a new version to change · Archived = retired"--msgid "Draft = editable · Active = read-only (create a new version to change) · Archived = history"-msgstr "Draft = editable · Active = read-only (create a new version to change) · Archived = history"+msgid "Draft is editable; Active is in use and requires a new version to change; Archived is retired."+msgstr "Draft is editable; Active is in use and requires a new version to change; Archived is retired."msgid "Drag & drop files, or click to browse"msgstr "Drag & drop files, or click to browse"@@ -12090,6 +12087,9 @@ msgstr "This lot is expired and can't be picked."msgid "This may take a moment. Hang tight."msgstr "This may take a moment. Hang tight."+msgid "This method version is read-only. Create a new version from the method menu to make changes."+msgstr "This method version is read-only. Create a new version from the method menu to make changes."+msgid "This Month"msgstr "This Month"@@ -13617,6 +13617,9 @@ msgstr """ ordered quantity of {1}. What would you like\n"" to do with the extra parts?"+msgid "You don't have permission to edit this bill of material."+msgstr "You don't have permission to edit this bill of material."+msgid "You drive it; we make sure it's done right. Expert eyes on your setup, data, and go-live."msgstr "You drive it; we make sure it's done right. Expert eyes on your setup, data, and go-live."diff --git a/packages/locale/locales/es/erp.po b/packages/locale/locales/es/erp.poindex 3ac37cbd8b..3a7fd8ceba 100644--- a/packages/locale/locales/es/erp.po+++ b/packages/locale/locales/es/erp.po@@ -3888,10 +3888,7 @@ msgstr "Descargar plantilla"msgid "Draft"msgstr "Borrador"-msgid "Draft = editable · Active = in use, create a new version to change · Archived = retired"-msgstr ""--msgid "Draft = editable · Active = read-only (create a new version to change) · Archived = history"+msgid "Draft is editable; Active is in use and requires a new version to change; Archived is retired."msgstr ""msgid "Drag & drop files, or click to browse"@@ -12090,6 +12087,9 @@ msgstr "Este lote ha expirado y no se puede seleccionar."msgid "This may take a moment. Hang tight."msgstr "Esto puede tomar un momento. Aguanta firme."+msgid "This method version is read-only. Create a new version from the method menu to make changes."+msgstr ""+msgid "This Month"msgstr "Este Mes"@@ -13613,6 +13613,9 @@ msgid """ to do with the extra parts?"msgstr "Completaste {leftoverQuantity} más {0} que la cantidad ordenada de {1}. ¿Qué te gustaría hacer con las piezas adicionales?"+msgid "You don't have permission to edit this bill of material."+msgstr ""+msgid "You drive it; we make sure it's done right. Expert eyes on your setup, data, and go-live."msgstr "Tú lo diriges; nos aseguramos de que se haga bien. Ojos expertos en tu configuración, datos y lanzamiento."diff --git a/packages/locale/locales/fr/erp.po b/packages/locale/locales/fr/erp.poindex 33f834f30a..60d14c242c 100644--- a/packages/locale/locales/fr/erp.po+++ b/packages/locale/locales/fr/erp.po@@ -3888,10 +3888,7 @@ msgstr "Télécharger le modèle"msgid "Draft"msgstr "Brouillon"-msgid "Draft = editable · Active = in use, create a new version to change · Archived = retired"-msgstr ""--msgid "Draft = editable · Active = read-only (create a new version to change) · Archived = history"+msgid "Draft is editable; Active is in use and requires a new version to change; Archived is retired."msgstr ""msgid "Drag & drop files, or click to browse"@@ -12090,6 +12087,9 @@ msgstr "Ce lot est expiré et ne peut pas être prélevé."msgid "This may take a moment. Hang tight."msgstr "Cela peut prendre un moment. Tenez bon."+msgid "This method version is read-only. Create a new version from the method menu to make changes."+msgstr ""+msgid "This Month"msgstr "Ce mois"@@ -13613,6 +13613,9 @@ msgid """ to do with the extra parts?"msgstr "Vous avez complété {leftoverQuantity} {0} de plus que la quantité commandée de {1}. Que souhaitez-vous faire avec les pièces supplémentaires ?"+msgid "You don't have permission to edit this bill of material."+msgstr ""+msgid "You drive it; we make sure it's done right. Expert eyes on your setup, data, and go-live."msgstr "Vous pilotez ; nous veillons à ce que ce soit fait correctement. Un regard expert sur votre configuration, vos données et votre mise en ligne."diff --git a/packages/locale/locales/hi/erp.po b/packages/locale/locales/hi/erp.poindex 8e3ce53fb2..c55c29edd4 100644--- a/packages/locale/locales/hi/erp.po+++ b/packages/locale/locales/hi/erp.po@@ -3888,10 +3888,7 @@ msgstr "टेम्पलेट डाउनलोड करें"msgid "Draft"msgstr "ड्राफ्ट"-msgid "Draft = editable · Active = in use, create a new version to change · Archived = retired"-msgstr ""--msgid "Draft = editable · Active = read-only (create a new version to change) · Archived = history"+msgid "Draft is editable; Active is in use and requires a new version to change; Archived is retired."msgstr ""msgid "Drag & drop files, or click to browse"@@ -12090,6 +12087,9 @@ msgstr "यह लॉट समाप्त हो गया है और इmsgid "This may take a moment. Hang tight."msgstr "यह एक पल ले सकता है। धैर्य रखें।"+msgid "This method version is read-only. Create a new version from the method menu to make changes."+msgstr ""+msgid "This Month"msgstr "इस महीने"@@ -13613,6 +13613,9 @@ msgid """ to do with the extra parts?"msgstr "आपने {leftoverQuantity} अधिक {0} पूरा किया है जो {1} की ऑर्डर की गई मात्रा से अधिक है। आप अतिरिक्त भागों के साथ क्या करना चाहते हैं?"+msgid "You don't have permission to edit this bill of material."+msgstr ""+msgid "You drive it; we make sure it's done right. Expert eyes on your setup, data, and go-live."msgstr "आप इसे चलाएं; हम सुनिश्चित करते हैं कि यह सही तरीके से किया जाए। आपके सेटअप, डेटा और गो-लाइव पर विशेषज्ञ की नजर।"diff --git a/packages/locale/locales/it/erp.po b/packages/locale/locales/it/erp.poindex a9b3c05406..d7aebade53 100644--- a/packages/locale/locales/it/erp.po+++ b/packages/locale/locales/it/erp.po@@ -3888,10 +3888,7 @@ msgstr "Scarica modello"msgid "Draft"msgstr "Bozza"-msgid "Draft = editable · Active = in use, create a new version to change · Archived = retired"-msgstr ""--msgid "Draft = editable · Active = read-only (create a new version to change) · Archived = history"+msgid "Draft is editable; Active is in use and requires a new version to change; Archived is retired."msgstr ""msgid "Drag & drop files, or click to browse"@@ -12090,6 +12087,9 @@ msgstr "Questo lotto è scaduto e non può essere prelevato."msgid "This may take a moment. Hang tight."msgstr "Potrebbe volerci un momento. Stai tranquillo."+msgid "This method version is read-only. Create a new version from the method menu to make changes."+msgstr ""+msgid "This Month"msgstr "Questo Mese"@@ -13613,6 +13613,9 @@ msgid """ to do with the extra parts?"msgstr "Hai completato {leftoverQuantity} {0} in più rispetto alla quantità ordinata di {1}. Cosa vorresti fare con le parti extra?"+msgid "You don't have permission to edit this bill of material."+msgstr ""+msgid "You drive it; we make sure it's done right. Expert eyes on your setup, data, and go-live."msgstr "Tu lo guidi; noi ci assicuriamo che sia fatto bene. Occhi esperti sulla tua configurazione, dati e lancio."diff --git a/packages/locale/locales/ja/erp.po b/packages/locale/locales/ja/erp.poindex c9f8d3bf51..70eb169c27 100644--- a/packages/locale/locales/ja/erp.po+++ b/packages/locale/locales/ja/erp.po@@ -3888,10 +3888,7 @@ msgstr "テンプレートをダウンロード"msgid "Draft"msgstr "下書き"-msgid "Draft = editable · Active = in use, create a new version to change · Archived = retired"-msgstr ""--msgid "Draft = editable · Active = read-only (create a new version to change) · Archived = history"+msgid "Draft is editable; Active is in use and requires a new version to change; Archived is retired."msgstr ""msgid "Drag & drop files, or click to browse"@@ -12090,6 +12087,9 @@ msgstr "このロットは期限切れであり、ピックできません。"msgid "This may take a moment. Hang tight."msgstr "これには少し時間がかかる場合があります。お待ちください。"+msgid "This method version is read-only. Create a new version from the method menu to make changes."+msgstr ""+msgid "This Month"msgstr "今月"@@ -13613,6 +13613,9 @@ msgid """ to do with the extra parts?"msgstr "あなたは注文数量 {1} より {leftoverQuantity} 個多く {0} を完了しました。余った部品をどうしたいですか?"+msgid "You don't have permission to edit this bill of material."+msgstr ""+msgid "You drive it; we make sure it's done right. Expert eyes on your setup, data, and go-live."msgstr "あなたが主導し、私たちが確実に正しく実行します。セットアップ、データ、本番稼働に関する専門家の目が入ります。"diff --git a/packages/locale/locales/pl/erp.po b/packages/locale/locales/pl/erp.poindex 31a52a4df6..5bc29a74ab 100644--- a/packages/locale/locales/pl/erp.po+++ b/packages/locale/locales/pl/erp.po@@ -3888,10 +3888,7 @@ msgstr "Pobierz szablon"msgid "Draft"msgstr "Wersja robocza"-msgid "Draft = editable · Active = in use, create a new version to change · Archived = retired"-msgstr ""--msgid "Draft = editable · Active = read-only (create a new version to change) · Archived = history"+msgid "Draft is editable; Active is in use and requires a new version to change; Archived is retired."msgstr ""msgid "Drag & drop files, or click to browse"@@ -12090,6 +12087,9 @@ msgstr "Ta partia wygasła i nie można jej pobrać."msgid "This may take a moment. Hang tight."msgstr "To może chwilę potrwać. Czekaj cierpliwie."+msgid "This method version is read-only. Create a new version from the method menu to make changes."+msgstr ""+msgid "This Month"msgstr "Ten miesiąc"@@ -13613,6 +13613,9 @@ msgid """ to do with the extra parts?"msgstr "Ukończyłeś {leftoverQuantity} więcej {0} niż zamówiona ilość {1}. Co chciałbyś zrobić z dodatkowymi częściami?"+msgid "You don't have permission to edit this bill of material."+msgstr ""+msgid "You drive it; we make sure it's done right. Expert eyes on your setup, data, and go-live."msgstr "Ty kierujesz; my upewniamy się, że wszystko jest zrobione prawidłowo. Fachowe spojrzenie na Twoją konfigurację, dane i wdrożenie."diff --git a/packages/locale/locales/pt/erp.po b/packages/locale/locales/pt/erp.poindex 0871dc36b5..d189088a58 100644--- a/packages/locale/locales/pt/erp.po+++ b/packages/locale/locales/pt/erp.po@@ -3888,10 +3888,7 @@ msgstr "Baixar modelo"msgid "Draft"msgstr "Rascunho"-msgid "Draft = editable · Active = in use, create a new version to change · Archived = retired"-msgstr ""--msgid "Draft = editable · Active = read-only (create a new version to change) · Archived = history"+msgid "Draft is editable; Active is in use and requires a new version to change; Archived is retired."msgstr ""msgid "Drag & drop files, or click to browse"@@ -12090,6 +12087,9 @@ msgstr "Este lote expirou e não pode ser selecionado."msgid "This may take a moment. Hang tight."msgstr "Isto pode levar um momento. Aguarde."+msgid "This method version is read-only. Create a new version from the method menu to make changes."+msgstr ""+msgid "This Month"msgstr "Este Mês"@@ -13613,6 +13613,9 @@ msgid """ to do with the extra parts?"msgstr "Você completou {leftoverQuantity} {0} a mais do que a quantidade solicitada de {1}. O que você gostaria de fazer com as peças extras?"+msgid "You don't have permission to edit this bill of material."+msgstr ""+msgid "You drive it; we make sure it's done right. Expert eyes on your setup, data, and go-live."msgstr "Você conduz; nós garantimos que seja feito corretamente. Olhos especialistas na sua configuração, dados e lançamento."diff --git a/packages/locale/locales/ru/erp.po b/packages/locale/locales/ru/erp.poindex d630de333e..62372b2812 100644--- a/packages/locale/locales/ru/erp.po+++ b/packages/locale/locales/ru/erp.po@@ -3888,10 +3888,7 @@ msgstr "Скачать шаблон"msgid "Draft"msgstr "Черновик"-msgid "Draft = editable · Active = in use, create a new version to change · Archived = retired"-msgstr ""--msgid "Draft = editable · Active = read-only (create a new version to change) · Archived = history"+msgid "Draft is editable; Active is in use and requires a new version to change; Archived is retired."msgstr ""msgid "Drag & drop files, or click to browse"@@ -12090,6 +12087,9 @@ msgstr "Эта партия истекла и не может быть выбрmsgid "This may take a moment. Hang tight."msgstr "Это может занять некоторое время. Не волнуйтесь."+msgid "This method version is read-only. Create a new version from the method menu to make changes."+msgstr ""+msgid "This Month"msgstr "Этот месяц"@@ -13613,6 +13613,9 @@ msgid """ to do with the extra parts?"msgstr "Вы завершили {leftoverQuantity} больше {0}, чем заказанное количество {1}. Что вы хотите сделать с дополнительными деталями?"+msgid "You don't have permission to edit this bill of material."+msgstr ""+msgid "You drive it; we make sure it's done right. Expert eyes on your setup, data, and go-live."msgstr "Вы управляете процессом; мы следим, чтобы всё было сделано правильно. Опытный взгляд на вашу настройку, данные и запуск."diff --git a/packages/locale/locales/tr/erp.po b/packages/locale/locales/tr/erp.poindex 4f0bbac070..a4fd14fa5b 100644--- a/packages/locale/locales/tr/erp.po+++ b/packages/locale/locales/tr/erp.po@@ -3888,10 +3888,7 @@ msgstr "Şablon indir"msgid "Draft"msgstr "Taslak"-msgid "Draft = editable · Active = in use, create a new version to change · Archived = retired"-msgstr ""--msgid "Draft = editable · Active = read-only (create a new version to change) · Archived = history"+msgid "Draft is editable; Active is in use and requires a new version to change; Archived is retired."msgstr ""msgid "Drag & drop files, or click to browse"@@ -12090,6 +12087,9 @@ msgstr "Bu parti süresi dolmuş ve alınamaz."msgid "This may take a moment. Hang tight."msgstr "Bu biraz zaman alabilir. Sabrın."+msgid "This method version is read-only. Create a new version from the method menu to make changes."+msgstr ""+msgid "This Month"msgstr "Bu Ay"@@ -13613,6 +13613,9 @@ msgid """ to do with the extra parts?"msgstr "Sipariş edilen miktardan {leftoverQuantity} fazla {0} tamamladınız. Fazla parçalarla ne yapmak istersiniz?{1}"+msgid "You don't have permission to edit this bill of material."+msgstr ""+msgid "You drive it; we make sure it's done right. Expert eyes on your setup, data, and go-live."msgstr "Siz yönetirsiniz; biz doğru yapıldığından emin oluruz. Kurulumunuz, verileriniz ve canlı yayına geçişiniz üzerinde uzman gözler."diff --git a/packages/locale/locales/zh/erp.po b/packages/locale/locales/zh/erp.poindex bf7553b621..cfa8e4f166 100644--- a/packages/locale/locales/zh/erp.po+++ b/packages/locale/locales/zh/erp.po@@ -3888,10 +3888,7 @@ msgstr "下载模板"msgid "Draft"msgstr "草稿"-msgid "Draft = editable · Active = in use, create a new version to change · Archived = retired"-msgstr ""--msgid "Draft = editable · Active = read-only (create a new version to change) · Archived = history"+msgid "Draft is editable; Active is in use and requires a new version to change; Archived is retired."msgstr ""msgid "Drag & drop files, or click to browse"@@ -12090,6 +12087,9 @@ msgstr "此批次已过期,无法领取。"msgid "This may take a moment. Hang tight."msgstr "这可能需要一些时间。请稍候。"+msgid "This method version is read-only. Create a new version from the method menu to make changes."+msgstr ""+msgid "This Month"msgstr "本月"@@ -13613,6 +13613,9 @@ msgid """ to do with the extra parts?"msgstr "您完成了 {leftoverQuantity} 个以上的 {0},超过了订购数量 {1}。您想如何处理这些额外的零件?"+msgid "You don't have permission to edit this bill of material."+msgstr ""+msgid "You drive it; we make sure it's done right. Expert eyes on your setup, data, and go-live."msgstr "你来主导;我们确保一切正确无误。我们的专家会审视你的设置、数据和上线过程。"