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
feat(items): supersession mode help tooltip, glossary term, badge options
Brad Barbin01b055979817
diff --git a/apps/erp/app/modules/items/ui/Item/ItemSupersessionForm.tsx b/apps/erp/app/modules/items/ui/Item/ItemSupersessionForm.tsxindex fb7541d7da..c8e5921b7f 100644--- a/apps/erp/app/modules/items/ui/Item/ItemSupersessionForm.tsx+++ b/apps/erp/app/modules/items/ui/Item/ItemSupersessionForm.tsx@@ -14,6 +14,7 @@ import { Trans, useLingui } from "@lingui/react/macro";import { useState } from "react";import { LuTriangleAlert } from "react-icons/lu";import type { z } from "zod";+import { Enumerable } from "~/components/Enumerable";import {DatePicker,Hidden,@@ -152,10 +153,11 @@ const ItemSupersessionForm = ({<SelectFormname="supersessionMode"label={t`Supersession Mode`}+ termId="supersession-mode"placeholder={t`None`}helperText={mode ? modeDescriptions[mode] : undefined}options={supersessionModes.map((value) => ({- label: value,+ label: <Enumerable value={value} />,value}))}onChange={(selected) => {diff --git a/packages/glossary/src/terms.ts b/packages/glossary/src/terms.tsindex 62d1b6675e..b9fa8acc29 100644--- a/packages/glossary/src/terms.ts+++ b/packages/glossary/src/terms.ts@@ -1022,6 +1022,17 @@ export const terms = {definition: msg`Planning's upper bound on a single suggested replenishment; quantities above this are split into multiple orders.`},+ // ── Items: Supersession (ItemSupersessionForm) ──────────────────────────+ supersession: {+ term: msg`Supersession`,+ definition: msg`Phasing out an item in favor of a successor part, so planning redirects the old item's demand — times a conversion factor — to the new one.`+ },+ "supersession-mode": {+ term: msg`Supersession Mode`,+ definition: msg`Controls how planning handles a discontinued item: Consume First exhausts on-hand before switching to the successor, Prefer New redirects new demand to the successor immediately, Stock Only keeps only a minimum service reserve, and No Stock drops the item from planning entirely.`,+ aliases: ["phase-out", "spares-only", "obsolete"]+ },+// ── Items: Pick method / shelf life (PickMethodForm) ────────────────────"item-default-storage-unit": {term: msg`Default Storage Unit`,diff --git a/packages/locale/locales/de/erp.po b/packages/locale/locales/de/erp.poindex 5d971a61ba..855270980d 100644--- a/packages/locale/locales/de/erp.po+++ b/packages/locale/locales/de/erp.po@@ -2047,6 +2047,9 @@ msgstr "Auftragnehmer"msgid "Contractors"msgstr "Auftragnehmer"+msgid "Controls how planning handles a discontinued item: Consume First exhausts on-hand before switching to the successor, Prefer New redirects new demand to the successor immediately, Stock Only keeps only a minimum service reserve, and No Stock drops the item from planning entirely."+msgstr ""+msgid "Convention"msgstr "Konvention"@@ -7196,6 +7199,9 @@ msgstr "Dauerhaft löschen"msgid "Permissions"msgstr "Berechtigungen"+msgid "Phasing out an item in favor of a successor part, so planning redirects the old item's demand — times a conversion factor — to the new one."+msgstr ""+msgid "Phone"msgstr "Telefon"diff --git a/packages/locale/locales/en/erp.po b/packages/locale/locales/en/erp.poindex 3754d86bca..53fe01eb75 100644--- a/packages/locale/locales/en/erp.po+++ b/packages/locale/locales/en/erp.po@@ -2047,6 +2047,9 @@ msgstr "Contractor"msgid "Contractors"msgstr "Contractors"+msgid "Controls how planning handles a discontinued item: Consume First exhausts on-hand before switching to the successor, Prefer New redirects new demand to the successor immediately, Stock Only keeps only a minimum service reserve, and No Stock drops the item from planning entirely."+msgstr "Controls how planning handles a discontinued item: Consume First exhausts on-hand before switching to the successor, Prefer New redirects new demand to the successor immediately, Stock Only keeps only a minimum service reserve, and No Stock drops the item from planning entirely."+msgid "Convention"msgstr "Convention"@@ -7196,6 +7199,9 @@ msgstr "Permanently Delete"msgid "Permissions"msgstr "Permissions"+msgid "Phasing out an item in favor of a successor part, so planning redirects the old item's demand — times a conversion factor — to the new one."+msgstr "Phasing out an item in favor of a successor part, so planning redirects the old item's demand — times a conversion factor — to the new one."+msgid "Phone"msgstr "Phone"diff --git a/packages/locale/locales/es/erp.po b/packages/locale/locales/es/erp.poindex e0733b55c6..84a2829322 100644--- a/packages/locale/locales/es/erp.po+++ b/packages/locale/locales/es/erp.po@@ -2047,6 +2047,9 @@ msgstr "Contratista"msgid "Contractors"msgstr "Contratistas"+msgid "Controls how planning handles a discontinued item: Consume First exhausts on-hand before switching to the successor, Prefer New redirects new demand to the successor immediately, Stock Only keeps only a minimum service reserve, and No Stock drops the item from planning entirely."+msgstr ""+msgid "Convention"msgstr "Convención"@@ -7196,6 +7199,9 @@ msgstr "Eliminar permanentemente"msgid "Permissions"msgstr "Permisos"+msgid "Phasing out an item in favor of a successor part, so planning redirects the old item's demand — times a conversion factor — to the new one."+msgstr ""+msgid "Phone"msgstr "Teléfono"diff --git a/packages/locale/locales/fr/erp.po b/packages/locale/locales/fr/erp.poindex d9f1520546..5d99152904 100644--- a/packages/locale/locales/fr/erp.po+++ b/packages/locale/locales/fr/erp.po@@ -2047,6 +2047,9 @@ msgstr "Entrepreneur"msgid "Contractors"msgstr "Entrepreneurs"+msgid "Controls how planning handles a discontinued item: Consume First exhausts on-hand before switching to the successor, Prefer New redirects new demand to the successor immediately, Stock Only keeps only a minimum service reserve, and No Stock drops the item from planning entirely."+msgstr ""+msgid "Convention"msgstr "Convention"@@ -7196,6 +7199,9 @@ msgstr "Supprimer définitivement"msgid "Permissions"msgstr "Autorisations"+msgid "Phasing out an item in favor of a successor part, so planning redirects the old item's demand — times a conversion factor — to the new one."+msgstr ""+msgid "Phone"msgstr "Téléphone"diff --git a/packages/locale/locales/hi/erp.po b/packages/locale/locales/hi/erp.poindex 9451c90f50..9ef64d1f05 100644--- a/packages/locale/locales/hi/erp.po+++ b/packages/locale/locales/hi/erp.po@@ -2047,6 +2047,9 @@ msgstr "ठेकेदार"msgid "Contractors"msgstr "ठेकेदार"+msgid "Controls how planning handles a discontinued item: Consume First exhausts on-hand before switching to the successor, Prefer New redirects new demand to the successor immediately, Stock Only keeps only a minimum service reserve, and No Stock drops the item from planning entirely."+msgstr ""+msgid "Convention"msgstr "अभिसम्मति"@@ -7196,6 +7199,9 @@ msgstr "स्थायी रूप से हटाएं"msgid "Permissions"msgstr "अनुमतियाँ"+msgid "Phasing out an item in favor of a successor part, so planning redirects the old item's demand — times a conversion factor — to the new one."+msgstr ""+msgid "Phone"msgstr "फोन"diff --git a/packages/locale/locales/it/erp.po b/packages/locale/locales/it/erp.poindex dffc60ad0f..02dd98e6c6 100644--- a/packages/locale/locales/it/erp.po+++ b/packages/locale/locales/it/erp.po@@ -2047,6 +2047,9 @@ msgstr "Appaltatore"msgid "Contractors"msgstr "Appaltatori"+msgid "Controls how planning handles a discontinued item: Consume First exhausts on-hand before switching to the successor, Prefer New redirects new demand to the successor immediately, Stock Only keeps only a minimum service reserve, and No Stock drops the item from planning entirely."+msgstr ""+msgid "Convention"msgstr "Convenzione"@@ -7196,6 +7199,9 @@ msgstr "Elimina definitivamente"msgid "Permissions"msgstr "Autorizzazioni"+msgid "Phasing out an item in favor of a successor part, so planning redirects the old item's demand — times a conversion factor — to the new one."+msgstr ""+msgid "Phone"msgstr "Telefono"diff --git a/packages/locale/locales/ja/erp.po b/packages/locale/locales/ja/erp.poindex 12859b2981..f6ba885ef2 100644--- a/packages/locale/locales/ja/erp.po+++ b/packages/locale/locales/ja/erp.po@@ -2047,6 +2047,9 @@ msgstr "請負業者"msgid "Contractors"msgstr "請負業者"+msgid "Controls how planning handles a discontinued item: Consume First exhausts on-hand before switching to the successor, Prefer New redirects new demand to the successor immediately, Stock Only keeps only a minimum service reserve, and No Stock drops the item from planning entirely."+msgstr ""+msgid "Convention"msgstr "慣例"@@ -7196,6 +7199,9 @@ msgstr "完全に削除"msgid "Permissions"msgstr "権限"+msgid "Phasing out an item in favor of a successor part, so planning redirects the old item's demand — times a conversion factor — to the new one."+msgstr ""+msgid "Phone"msgstr "電話"diff --git a/packages/locale/locales/pl/erp.po b/packages/locale/locales/pl/erp.poindex 5c1e8bae1f..7a3fd16ba8 100644--- a/packages/locale/locales/pl/erp.po+++ b/packages/locale/locales/pl/erp.po@@ -2047,6 +2047,9 @@ msgstr "Wykonawca"msgid "Contractors"msgstr "Kontrahenci"+msgid "Controls how planning handles a discontinued item: Consume First exhausts on-hand before switching to the successor, Prefer New redirects new demand to the successor immediately, Stock Only keeps only a minimum service reserve, and No Stock drops the item from planning entirely."+msgstr ""+msgid "Convention"msgstr "Konwencja"@@ -7196,6 +7199,9 @@ msgstr "Trwale usunąć"msgid "Permissions"msgstr "Uprawnienia"+msgid "Phasing out an item in favor of a successor part, so planning redirects the old item's demand — times a conversion factor — to the new one."+msgstr ""+msgid "Phone"msgstr "Telefon"diff --git a/packages/locale/locales/pt/erp.po b/packages/locale/locales/pt/erp.poindex ef5d208796..f54624ca8a 100644--- a/packages/locale/locales/pt/erp.po+++ b/packages/locale/locales/pt/erp.po@@ -2047,6 +2047,9 @@ msgstr "Contratante"msgid "Contractors"msgstr "Contratantes"+msgid "Controls how planning handles a discontinued item: Consume First exhausts on-hand before switching to the successor, Prefer New redirects new demand to the successor immediately, Stock Only keeps only a minimum service reserve, and No Stock drops the item from planning entirely."+msgstr ""+msgid "Convention"msgstr "Convenção"@@ -7196,6 +7199,9 @@ msgstr "Eliminar Permanentemente"msgid "Permissions"msgstr "Permissões"+msgid "Phasing out an item in favor of a successor part, so planning redirects the old item's demand — times a conversion factor — to the new one."+msgstr ""+msgid "Phone"msgstr "Telefone"diff --git a/packages/locale/locales/ru/erp.po b/packages/locale/locales/ru/erp.poindex ca9d6fc223..0eef5a6dd8 100644--- a/packages/locale/locales/ru/erp.po+++ b/packages/locale/locales/ru/erp.po@@ -2047,6 +2047,9 @@ msgstr "Подрядчик"msgid "Contractors"msgstr "Подрядчики"+msgid "Controls how planning handles a discontinued item: Consume First exhausts on-hand before switching to the successor, Prefer New redirects new demand to the successor immediately, Stock Only keeps only a minimum service reserve, and No Stock drops the item from planning entirely."+msgstr ""+msgid "Convention"msgstr "Соглашение"@@ -7196,6 +7199,9 @@ msgstr "Окончательно удалить"msgid "Permissions"msgstr "Разрешения"+msgid "Phasing out an item in favor of a successor part, so planning redirects the old item's demand — times a conversion factor — to the new one."+msgstr ""+msgid "Phone"msgstr "Телефон"diff --git a/packages/locale/locales/tr/erp.po b/packages/locale/locales/tr/erp.poindex 9dff1e2f08..22e07b19a4 100644--- a/packages/locale/locales/tr/erp.po+++ b/packages/locale/locales/tr/erp.po@@ -2047,6 +2047,9 @@ msgstr "Yüklenici"msgid "Contractors"msgstr "Yükleniciler"+msgid "Controls how planning handles a discontinued item: Consume First exhausts on-hand before switching to the successor, Prefer New redirects new demand to the successor immediately, Stock Only keeps only a minimum service reserve, and No Stock drops the item from planning entirely."+msgstr ""+msgid "Convention"msgstr "Sözleşme"@@ -7196,6 +7199,9 @@ msgstr "Kalıcı Olarak Sil"msgid "Permissions"msgstr "İzinler"+msgid "Phasing out an item in favor of a successor part, so planning redirects the old item's demand — times a conversion factor — to the new one."+msgstr ""+msgid "Phone"msgstr "Telefon"diff --git a/packages/locale/locales/zh/erp.po b/packages/locale/locales/zh/erp.poindex f3dcc76ff0..3b07338f79 100644--- a/packages/locale/locales/zh/erp.po+++ b/packages/locale/locales/zh/erp.po@@ -2047,6 +2047,9 @@ msgstr "承包商"msgid "Contractors"msgstr "承包商"+msgid "Controls how planning handles a discontinued item: Consume First exhausts on-hand before switching to the successor, Prefer New redirects new demand to the successor immediately, Stock Only keeps only a minimum service reserve, and No Stock drops the item from planning entirely."+msgstr ""+msgid "Convention"msgstr "惯例"@@ -7196,6 +7199,9 @@ msgstr "永久删除"msgid "Permissions"msgstr "权限"+msgid "Phasing out an item in favor of a successor part, so planning redirects the old item's demand — times a conversion factor — to the new one."+msgstr ""+msgid "Phone"msgstr "电话"