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.

feat: account-move notice, and signed session cookies (#1927)

Sid2e8519105f76
diff --git a/apps/erp/app/modules/shared/shared.server.ts b/apps/erp/app/modules/shared/shared.server.ts
index 8dea40218b..da46b9a9ca 100644
--- a/apps/erp/app/modules/shared/shared.server.ts
+++ b/apps/erp/app/modules/shared/shared.server.ts
@@ -6,6 +6,7 @@ import type { Database } from "@carbon/database";
import { SalesOrderEmail } from "@carbon/documents/email";
import type { ActionTaskEntityType } from "@carbon/ee/action-task-entity";
import { actionTaskEntities } from "@carbon/ee/action-task-entity";
+import { SESSION_SECRET } from "@carbon/env";
import { storage } from "@carbon/files";
import { trigger } from "@carbon/jobs";
import { redis } from "@carbon/kv";
@@ -868,6 +869,7 @@ const onboardingDraftStorage = createCookieSessionStorage({
cookie: {
name: ONBOARDING_DRAFT_KEY,
path: "/",
+ secrets: [SESSION_SECRET!],
secure: false,
httpOnly: true,
sameSite: "lax",
diff --git a/apps/erp/app/routes/api+/system-status.ts b/apps/erp/app/routes/api+/system-status.ts
index 975a713a1e..5132b80541 100644
--- a/apps/erp/app/routes/api+/system-status.ts
+++ b/apps/erp/app/routes/api+/system-status.ts
@@ -3,15 +3,34 @@
// including ports, remain AGPLv3; serving them over a network requires releasing their source.
import { requirePermissions } from "@carbon/auth/auth.server";
+import { accountMoveDate } from "@carbon/lib/system-status";
import { getSystemStatus } from "@carbon/lib/system-status.server";
+import { getLogger } from "@carbon/logger";
import { cachedClientLoader, RefreshRate } from "@carbon/query/cache";
import type { LoaderFunctionArgs } from "react-router";
-// The deployment's status document (latest version, announcement), or null
-// when SYSTEM_STATUS_URL is unset. The same for every company.
+const logger = getLogger("erp", "system-status");
+
+// The deployment's status document (latest version, announcement; empty when
+// SYSTEM_STATUS_URL is unset), plus the day the signed-in company's account
+// moves to another instance, if one is set on it.
export async function loader({ request }: LoaderFunctionArgs) {
- await requirePermissions(request, {});
- return await getSystemStatus();
+ const { client, companyId } = await requirePermissions(request, {});
+ const [status, company] = await Promise.all([
+ getSystemStatus(),
+ client.from("company").select("dimensions").eq("id", companyId).single()
+ ]);
+ if (company.error) {
+ logger.error("Failed to load the company's account-move date", {
+ companyId,
+ error: company.error
+ });
+ }
+ return {
+ announcement: status?.announcement ?? null,
+ latestVersion: status?.latestVersion ?? null,
+ accountMoveDate: accountMoveDate(company.data?.dimensions)
+ };
}
export const clientLoader = cachedClientLoader<typeof loader>({
diff --git a/apps/erp/app/routes/x+/_layout.tsx b/apps/erp/app/routes/x+/_layout.tsx
index 0c6c693b75..dd7e66ef96 100644
--- a/apps/erp/app/routes/x+/_layout.tsx
+++ b/apps/erp/app/routes/x+/_layout.tsx
@@ -44,12 +44,14 @@ import {
import { getStripeCustomerByCompanyId } from "@carbon/stripe/stripe.server";
import {
Edition,
+ formatDate,
redirect,
redirectExternal,
requiresItarEntityCertification,
SHELL_MAX_AGE_MS
} from "@carbon/utils";
import { useLingui } from "@lingui/react/macro";
+import { useLocale } from "@react-aria/i18n";
import posthog from "posthog-js";
import type { ReactNode } from "react";
import { Suspense, useEffect } from "react";
@@ -396,6 +398,18 @@ export default function AuthenticatedRoute() {
const systemStatus = useLoaderQuery<typeof systemStatusLoader>(
path.to.api.systemStatus
);
+ const { locale } = useLocale();
+ const moveDate = systemStatus.data?.accountMoveDate;
+ // The account move outranks the deployment-wide announcement, and cannot
+ // be dismissed: it stays until the date is cleared on the company.
+ const announcement = moveDate
+ ? {
+ id: `account-move:${moveDate}`,
+ severity: "warning" as const,
+ message: t`🚨 Heads up: on ${formatDate(moveDate, { dateStyle: "long" }, locale)} your account will be moved to erp.try.carbon.ms`,
+ dismissible: false
+ }
+ : systemStatus.data?.announcement;
// biome-ignore lint/correctness/useExhaustiveDependencies: runs each time the loader does
useEffect(() => {
shellLoadedAt = Date.now();
@@ -551,7 +565,7 @@ export default function AuthenticatedRoute() {
{isPhone && <MobileAppBar />}
<Topbar />
<AnnouncementBar
- announcement={systemStatus.data?.announcement}
+ announcement={announcement}
userId={user?.id ?? ""}
dismissLabel={t`Dismiss`}
defaultLinkLabel={t`Learn more`}
diff --git a/apps/mes/app/routes/api+/system-status.ts b/apps/mes/app/routes/api+/system-status.ts
index 975a713a1e..c6eca3ec49 100644
--- a/apps/mes/app/routes/api+/system-status.ts
+++ b/apps/mes/app/routes/api+/system-status.ts
@@ -3,15 +3,34 @@
// including ports, remain AGPLv3; serving them over a network requires releasing their source.
import { requirePermissions } from "@carbon/auth/auth.server";
+import { accountMoveDate } from "@carbon/lib/system-status";
import { getSystemStatus } from "@carbon/lib/system-status.server";
+import { getLogger } from "@carbon/logger";
import { cachedClientLoader, RefreshRate } from "@carbon/query/cache";
import type { LoaderFunctionArgs } from "react-router";
-// The deployment's status document (latest version, announcement), or null
-// when SYSTEM_STATUS_URL is unset. The same for every company.
+const logger = getLogger("mes", "system-status");
+
+// The deployment's status document (latest version, announcement; empty when
+// SYSTEM_STATUS_URL is unset), plus the day the signed-in company's account
+// moves to another instance, if one is set on it.
export async function loader({ request }: LoaderFunctionArgs) {
- await requirePermissions(request, {});
- return await getSystemStatus();
+ const { client, companyId } = await requirePermissions(request, {});
+ const [status, company] = await Promise.all([
+ getSystemStatus(),
+ client.from("company").select("dimensions").eq("id", companyId).single()
+ ]);
+ if (company.error) {
+ logger.error("Failed to load the company's account-move date", {
+ companyId,
+ error: company.error
+ });
+ }
+ return {
+ announcement: status?.announcement ?? null,
+ latestVersion: status?.latestVersion ?? null,
+ accountMoveDate: accountMoveDate(company.data?.dimensions)
+ };
}
export const clientLoader = cachedClientLoader<typeof loader>({
diff --git a/apps/mes/app/routes/x+/_layout.tsx b/apps/mes/app/routes/x+/_layout.tsx
index b72cefa2af..154d506903 100644
--- a/apps/mes/app/routes/x+/_layout.tsx
+++ b/apps/mes/app/routes/x+/_layout.tsx
@@ -46,12 +46,14 @@ import {
import { getStripeCustomerByCompanyId } from "@carbon/stripe/stripe.server";
import {
Edition,
+ formatDate,
redirect,
redirectExternal,
requiresItarEntityCertification,
SHELL_MAX_AGE_MS
} from "@carbon/utils";
import { Trans, useLingui } from "@lingui/react/macro";
+import { useLocale } from "@react-aria/i18n";
import posthog from "posthog-js";
import type { ReactNode } from "react";
import { Suspense, useEffect, useState } from "react";
@@ -409,6 +411,18 @@ export default function AuthenticatedRoute() {
const systemStatus = useLoaderQuery<typeof systemStatusLoader>(
path.to.api.systemStatus
);
+ const { locale } = useLocale();
+ const moveDate = systemStatus.data?.accountMoveDate;
+ // The account move outranks the deployment-wide announcement, and cannot
+ // be dismissed: it stays until the date is cleared on the company.
+ const announcement = moveDate
+ ? {
+ id: `account-move:${moveDate}`,
+ severity: "warning" as const,
+ message: t`🚨 Heads up: on ${formatDate(moveDate, { dateStyle: "long" }, locale)} your account will be moved to erp.try.carbon.ms`,
+ dismissible: false
+ }
+ : systemStatus.data?.announcement;
const userEmail = user?.email;
const userFullName = user ? `${user.firstName} ${user.lastName}` : undefined;
const companyId = company?.companyId;
@@ -553,7 +567,7 @@ export default function AuthenticatedRoute() {
keeps its state, so a form still held the previous company's
values and saving wrote them to the new one. */}
<AnnouncementBar
- announcement={systemStatus.data?.announcement}
+ announcement={announcement}
// The pinned-in operator on a console, so one
// operator's dismissal is not everyone's.
userId={loaderData.effectiveUserId ?? user?.id ?? ""}
diff --git a/apps/mes/app/services/operation.server.ts b/apps/mes/app/services/operation.server.ts
index 7a273c1f2e..12aa0bcff3 100644
--- a/apps/mes/app/services/operation.server.ts
+++ b/apps/mes/app/services/operation.server.ts
@@ -2,6 +2,7 @@
// Carbon (github.com/crbnos/carbon). Modified or adapted versions of this file,
// including ports, remain AGPLv3; serving them over a network requires releasing their source.
+import { SESSION_SECRET } from "@carbon/auth";
import { createCookieSessionStorage } from "react-router";
const MES_FILTERS_KEY = "mes-filters";
@@ -10,6 +11,7 @@ const sessionStorage = createCookieSessionStorage({
cookie: {
name: MES_FILTERS_KEY,
path: "/",
+ secrets: [SESSION_SECRET!],
secure: false
}
});
diff --git a/apps/mes/app/services/people.server.ts b/apps/mes/app/services/people.server.ts
index ca62ebaadd..851c479222 100644
--- a/apps/mes/app/services/people.server.ts
+++ b/apps/mes/app/services/people.server.ts
@@ -2,6 +2,7 @@
// Carbon (github.com/crbnos/carbon). Modified or adapted versions of this file,
// including ports, remain AGPLv3; serving them over a network requires releasing their source.
+import { SESSION_SECRET } from "@carbon/auth";
import { createCookieSessionStorage } from "react-router";
const MES_PEOPLE_OVERRIDE_KEY = "mes-people-override";
@@ -10,6 +11,7 @@ const sessionStorage = createCookieSessionStorage({
cookie: {
name: MES_PEOPLE_OVERRIDE_KEY,
path: "/",
+ secrets: [SESSION_SECRET!],
secure: false
}
});
diff --git a/packages/lib/src/system-status.account-move.test.ts b/packages/lib/src/system-status.account-move.test.ts
new file mode 100644
index 0000000000..b4d538dc41
--- /dev/null
+++ b/packages/lib/src/system-status.account-move.test.ts
@@ -0,0 +1,24 @@
+// SPDX-License-Identifier: AGPL-3.0-only
+// Carbon (github.com/crbnos/carbon). Modified or adapted versions of this file,
+// including ports, remain AGPLv3; serving them over a network requires releasing their source.
+
+import { describe, expect, it } from "vitest";
+import { accountMoveDate } from "./system-status";
+
+describe("accountMoveDate", () => {
+ it("reads the date set on the company", () => {
+ expect(accountMoveDate({ migrationDate: "2026-11-01" })).toBe("2026-11-01");
+ expect(accountMoveDate({ migrationDate: "2026-11-01", other: true })).toBe(
+ "2026-11-01"
+ );
+ });
+
+ it("is null when there is no date to show", () => {
+ expect(accountMoveDate({})).toBeNull();
+ expect(accountMoveDate(null)).toBeNull();
+ expect(accountMoveDate({ migrationDate: null })).toBeNull();
+ expect(accountMoveDate({ migrationDate: "" })).toBeNull();
+ expect(accountMoveDate({ migrationDate: "next week" })).toBeNull();
+ expect(accountMoveDate({ migrationDate: "2026-13-40" })).toBeNull();
+ });
+});
diff --git a/packages/lib/src/system-status.ts b/packages/lib/src/system-status.ts
index 9d2f214cd5..e4ee7c7c3f 100644
--- a/packages/lib/src/system-status.ts
+++ b/packages/lib/src/system-status.ts
@@ -62,3 +62,15 @@ export async function fetchSystemStatus(
return null;
}
}
+
+const accountMoveValidator = z.object({ migrationDate: z.iso.date() });
+
+/**
+ * The day this company's account moves to another Carbon instance, read from
+ * `company.dimensions.migrationDate` (`YYYY-MM-DD`). Null when it is absent or
+ * not a date, so a typo set by hand shows nothing rather than "Invalid Date".
+ */
+export function accountMoveDate(dimensions: unknown): string | null {
+ const parsed = accountMoveValidator.safeParse(dimensions);
+ return parsed.success ? parsed.data.migrationDate : null;
+}
diff --git a/packages/locale/locales/de/erp.po b/packages/locale/locales/de/erp.po
index 400d96487c..9c1c4310d0 100644
--- a/packages/locale/locales/de/erp.po
+++ b/packages/locale/locales/de/erp.po
@@ -728,6 +728,10 @@ msgstr "<0>Lieferantenteil hinzufügen</0> für diesen Artikel, um einen bevorzu
msgid "≈ {0}"
msgstr "≈ {0}"
+#. placeholder {0}: formatDate(moveDate, { dateStyle: "long" }, locale)
+msgid "🚨 Heads up: on {0} your account will be moved to erp.try.carbon.ms"
+msgstr "🚨 Hinweis: Am {0} wird Ihr Konto zu erp.try.carbon.ms verschoben"
+
msgid "0 operations"
msgstr "0 Arbeitsgänge"
diff --git a/packages/locale/locales/de/mes.po b/packages/locale/locales/de/mes.po
index 21b9315c15..07a1d800aa 100644
--- a/packages/locale/locales/de/mes.po
+++ b/packages/locale/locales/de/mes.po
@@ -103,6 +103,10 @@ msgstr "{recorded}/{0} Fertigungsaufträge"
msgid "+{overflow} more"
msgstr "+{overflow} weitere"
+#. placeholder {0}: formatDate(moveDate, { dateStyle: "long" }, locale)
+msgid "🚨 Heads up: on {0} your account will be moved to erp.try.carbon.ms"
+msgstr "🚨 Hinweis: Am {0} wird Ihr Konto zu erp.try.carbon.ms verschoben"
+
msgid "A previous completion did not finish. Retrying resumes the remaining steps — quantities are not double-counted."
msgstr "Eine vorherige Fertigstellung wurde nicht abgeschlossen. Ein erneuter Versuch setzt die verbleibenden Schritte fort – Mengen werden nicht doppelt gezählt."
diff --git a/packages/locale/locales/en/erp.po b/packages/locale/locales/en/erp.po
index aafba4fa80..a24a008cce 100644
--- a/packages/locale/locales/en/erp.po
+++ b/packages/locale/locales/en/erp.po
@@ -728,6 +728,10 @@ msgstr "<0>Add a supplier part</0> for this item to set a preferred supplier."
msgid "≈ {0}"
msgstr "≈ {0}"
+#. placeholder {0}: formatDate(moveDate, { dateStyle: "long" }, locale)
+msgid "🚨 Heads up: on {0} your account will be moved to erp.try.carbon.ms"
+msgstr "🚨 Heads up: on {0} your account will be moved to erp.try.carbon.ms"
+
msgid "0 operations"
msgstr "0 operations"
diff --git a/packages/locale/locales/en/mes.po b/packages/locale/locales/en/mes.po
index e8883573f5..9b48639345 100644
--- a/packages/locale/locales/en/mes.po
+++ b/packages/locale/locales/en/mes.po
@@ -103,6 +103,10 @@ msgstr "{recorded}/{0} jobs"
msgid "+{overflow} more"
msgstr "+{overflow} more"
+#. placeholder {0}: formatDate(moveDate, { dateStyle: "long" }, locale)
+msgid "🚨 Heads up: on {0} your account will be moved to erp.try.carbon.ms"
+msgstr "🚨 Heads up: on {0} your account will be moved to erp.try.carbon.ms"
+
msgid "A previous completion did not finish. Retrying resumes the remaining steps — quantities are not double-counted."
msgstr "A previous completion did not finish. Retrying resumes the remaining steps — quantities are not double-counted."
diff --git a/packages/locale/locales/es/erp.po b/packages/locale/locales/es/erp.po
index 09c86e7da6..25b484ca9b 100644
--- a/packages/locale/locales/es/erp.po
+++ b/packages/locale/locales/es/erp.po
@@ -728,6 +728,10 @@ msgstr "<0>Agregue una parte de proveedor</0> para este artículo para establece
msgid "≈ {0}"
msgstr "≈ {0}"
+#. placeholder {0}: formatDate(moveDate, { dateStyle: "long" }, locale)
+msgid "🚨 Heads up: on {0} your account will be moved to erp.try.carbon.ms"
+msgstr "🚨 Atención: el {0} su cuenta se trasladará a erp.try.carbon.ms"
+
msgid "0 operations"
msgstr "0 operaciones"
diff --git a/packages/locale/locales/es/mes.po b/packages/locale/locales/es/mes.po
index c301010132..f0667b9b3e 100644
--- a/packages/locale/locales/es/mes.po
+++ b/packages/locale/locales/es/mes.po
@@ -103,6 +103,10 @@ msgstr "{recorded}/{0} órdenes de trabajo"
msgid "+{overflow} more"
msgstr "+{overflow} más"
+#. placeholder {0}: formatDate(moveDate, { dateStyle: "long" }, locale)
+msgid "🚨 Heads up: on {0} your account will be moved to erp.try.carbon.ms"
+msgstr "🚨 Atención: el {0} su cuenta se trasladará a erp.try.carbon.ms"
+
msgid "A previous completion did not finish. Retrying resumes the remaining steps — quantities are not double-counted."
msgstr "Una finalización anterior no se completó. Reintentar reanuda los pasos restantes — las cantidades no se duplican."
diff --git a/packages/locale/locales/fr/erp.po b/packages/locale/locales/fr/erp.po
index 36cf1fe87a..a6eb2d9a82 100644
--- a/packages/locale/locales/fr/erp.po
+++ b/packages/locale/locales/fr/erp.po
@@ -728,6 +728,10 @@ msgstr "<0>Ajoutez une pièce fournisseur</0> pour cet article pour définir un
msgid "≈ {0}"
msgstr "≈ {0}"
+#. placeholder {0}: formatDate(moveDate, { dateStyle: "long" }, locale)
+msgid "🚨 Heads up: on {0} your account will be moved to erp.try.carbon.ms"
+msgstr "🚨 Attention : le {0}, votre compte sera transféré vers erp.try.carbon.ms"
+
msgid "0 operations"
msgstr "0 opération"
diff --git a/packages/locale/locales/fr/mes.po b/packages/locale/locales/fr/mes.po
index b31c12250b..e3ce543afd 100644
--- a/packages/locale/locales/fr/mes.po
+++ b/packages/locale/locales/fr/mes.po
@@ -103,6 +103,10 @@ msgstr "{recorded}/{0} ordres de fabrication"
msgid "+{overflow} more"
msgstr "+{overflow} autres"
+#. placeholder {0}: formatDate(moveDate, { dateStyle: "long" }, locale)
+msgid "🚨 Heads up: on {0} your account will be moved to erp.try.carbon.ms"
+msgstr "🚨 Attention : le {0}, votre compte sera transféré vers erp.try.carbon.ms"
+
msgid "A previous completion did not finish. Retrying resumes the remaining steps — quantities are not double-counted."
msgstr "Un traitement précédent ne s'est pas terminé. Recommencer reprend les étapes restantes — les quantités ne sont pas comptabilisées en double."
diff --git a/packages/locale/locales/hi/erp.po b/packages/locale/locales/hi/erp.po
index 593f7f7b0b..d519b346a4 100644
--- a/packages/locale/locales/hi/erp.po
+++ b/packages/locale/locales/hi/erp.po
@@ -728,6 +728,10 @@ msgstr "<0>इस आइटम के लिए एक आपूर्तिक
msgid "≈ {0}"
msgstr "≈ {0}"
+#. placeholder {0}: formatDate(moveDate, { dateStyle: "long" }, locale)
+msgid "🚨 Heads up: on {0} your account will be moved to erp.try.carbon.ms"
+msgstr "🚨 ध्यान दें: {0} को आपका खाता erp.try.carbon.ms पर स्थानांतरित कर दिया जाएगा"
+
msgid "0 operations"
msgstr "0 ऑपरेशन"
diff --git a/packages/locale/locales/hi/mes.po b/packages/locale/locales/hi/mes.po
index 143fc06f78..6292ce2d83 100644
--- a/packages/locale/locales/hi/mes.po
+++ b/packages/locale/locales/hi/mes.po
@@ -103,6 +103,10 @@ msgstr "{recorded}/{0} जॉब्स"
msgid "+{overflow} more"
msgstr "+{overflow} अधिक"
+#. placeholder {0}: formatDate(moveDate, { dateStyle: "long" }, locale)
+msgid "🚨 Heads up: on {0} your account will be moved to erp.try.carbon.ms"
+msgstr "🚨 ध्यान दें: {0} को आपका खाता erp.try.carbon.ms पर स्थानांतरित कर दिया जाएगा"
+
msgid "A previous completion did not finish. Retrying resumes the remaining steps — quantities are not double-counted."
msgstr "एक पिछला समापन पूरा नहीं हुआ। पुनः प्रयास करने से शेष चरण जारी रहते हैं — मात्राएँ दोगुनी नहीं गिनी जाती हैं।"
diff --git a/packages/locale/locales/it/erp.po b/packages/locale/locales/it/erp.po
index 1ea62f1d9d..cd477b2d28 100644
--- a/packages/locale/locales/it/erp.po
+++ b/packages/locale/locales/it/erp.po
@@ -728,6 +728,10 @@ msgstr "<0>Aggiungi un componente fornitore</0> per questo articolo per impostar
msgid "≈ {0}"
msgstr "≈ {0}"
+#. placeholder {0}: formatDate(moveDate, { dateStyle: "long" }, locale)
+msgid "🚨 Heads up: on {0} your account will be moved to erp.try.carbon.ms"
+msgstr "🚨 Attenzione: il {0} il tuo account verrà trasferito su erp.try.carbon.ms"
+
msgid "0 operations"
msgstr "0 operazioni"
diff --git a/packages/locale/locales/it/mes.po b/packages/locale/locales/it/mes.po
index 5b9eb98b98..f773cbaba9 100644
--- a/packages/locale/locales/it/mes.po
+++ b/packages/locale/locales/it/mes.po
@@ -103,6 +103,10 @@ msgstr "Registrato/{0} ordini di produzione"
msgid "+{overflow} more"
msgstr "+{overflow} altri"
+#. placeholder {0}: formatDate(moveDate, { dateStyle: "long" }, locale)
+msgid "🚨 Heads up: on {0} your account will be moved to erp.try.carbon.ms"
+msgstr "🚨 Attenzione: il {0} il tuo account verrà trasferito su erp.try.carbon.ms"
+
msgid "A previous completion did not finish. Retrying resumes the remaining steps — quantities are not double-counted."
msgstr "Un completamento precedente non è terminato. Riprovare riprende i passaggi rimanenti — le quantità non vengono conteggiate due volte."
diff --git a/packages/locale/locales/ja/erp.po b/packages/locale/locales/ja/erp.po
index 139b30c146..be7d829484 100644
--- a/packages/locale/locales/ja/erp.po
+++ b/packages/locale/locales/ja/erp.po
@@ -728,6 +728,10 @@ msgstr "<0>この商品の仕入先部品を追加</0>して、優先仕入先
msgid "≈ {0}"
msgstr "≈ {0}"
+#. placeholder {0}: formatDate(moveDate, { dateStyle: "long" }, locale)
+msgid "🚨 Heads up: on {0} your account will be moved to erp.try.carbon.ms"
+msgstr "🚨 お知らせ:{0}にアカウントが erp.try.carbon.ms に移行されます"
+
msgid "0 operations"
msgstr "0 件の工程"
diff --git a/packages/locale/locales/ja/mes.po b/packages/locale/locales/ja/mes.po
index 83a9dd1101..5daeb61dab 100644
--- a/packages/locale/locales/ja/mes.po
+++ b/packages/locale/locales/ja/mes.po
@@ -103,6 +103,10 @@ msgstr "{recorded}/{0}件の製造指図"
msgid "+{overflow} more"
msgstr "+{overflow} その他"
+#. placeholder {0}: formatDate(moveDate, { dateStyle: "long" }, locale)
+msgid "🚨 Heads up: on {0} your account will be moved to erp.try.carbon.ms"
+msgstr "🚨 お知らせ:{0}にアカウントが erp.try.carbon.ms に移行されます"
+
msgid "A previous completion did not finish. Retrying resumes the remaining steps — quantities are not double-counted."
msgstr "前回の完了は終了しませんでした。再試行により残りのステップが再開されます。数量は二重計算されません。"
diff --git a/packages/locale/locales/ko/erp.po b/packages/locale/locales/ko/erp.po
index 56ed4f9116..863f85bafc 100644
--- a/packages/locale/locales/ko/erp.po
+++ b/packages/locale/locales/ko/erp.po
@@ -728,6 +728,10 @@ msgstr "<0>이 품목에 공급업체 부품 추가</0>하여 우선 공급업
msgid "≈ {0}"
msgstr "≈ {0}"
+#. placeholder {0}: formatDate(moveDate, { dateStyle: "long" }, locale)
+msgid "🚨 Heads up: on {0} your account will be moved to erp.try.carbon.ms"
+msgstr "🚨 안내: {0}에 계정이 erp.try.carbon.ms(으)로 이전됩니다"
+
msgid "0 operations"
msgstr "0개 공정"
diff --git a/packages/locale/locales/ko/mes.po b/packages/locale/locales/ko/mes.po
index ca92cedb74..1ee04e7555 100644
--- a/packages/locale/locales/ko/mes.po
+++ b/packages/locale/locales/ko/mes.po
@@ -103,6 +103,10 @@ msgstr "{recorded}/{0} 작업 지시"
msgid "+{overflow} more"
msgstr "+{overflow} 더 보기"
+#. placeholder {0}: formatDate(moveDate, { dateStyle: "long" }, locale)
+msgid "🚨 Heads up: on {0} your account will be moved to erp.try.carbon.ms"
+msgstr "🚨 안내: {0}에 계정이 erp.try.carbon.ms(으)로 이전됩니다"
+
msgid "A previous completion did not finish. Retrying resumes the remaining steps — quantities are not double-counted."
msgstr "이전 완료가 완료되지 않았습니다. 다시 시도하면 남은 단계가 재개되며 — 수량이 중복으로 계산되지 않습니다."
diff --git a/packages/locale/locales/pl/erp.po b/packages/locale/locales/pl/erp.po
index ffe57f34e2..f173f611d5 100644
--- a/packages/locale/locales/pl/erp.po
+++ b/packages/locale/locales/pl/erp.po
@@ -728,6 +728,10 @@ msgstr "<0>Dodaj część dostawcy</0> do tego artykułu, aby ustawić preferowa
msgid "≈ {0}"
msgstr "≈ {0}"
+#. placeholder {0}: formatDate(moveDate, { dateStyle: "long" }, locale)
+msgid "🚨 Heads up: on {0} your account will be moved to erp.try.carbon.ms"
+msgstr "🚨 Uwaga: {0} Twoje konto zostanie przeniesione na erp.try.carbon.ms"
+
msgid "0 operations"
msgstr "0 operacji"
diff --git a/packages/locale/locales/pl/mes.po b/packages/locale/locales/pl/mes.po
index b6bc4b4f77..e23383a609 100644
--- a/packages/locale/locales/pl/mes.po
+++ b/packages/locale/locales/pl/mes.po
@@ -103,6 +103,10 @@ msgstr "{recorded}/{0} zleceń produkcyjnych"
msgid "+{overflow} more"
msgstr "+{overflow} więcej"
+#. placeholder {0}: formatDate(moveDate, { dateStyle: "long" }, locale)
+msgid "🚨 Heads up: on {0} your account will be moved to erp.try.carbon.ms"
+msgstr "🚨 Uwaga: {0} Twoje konto zostanie przeniesione na erp.try.carbon.ms"
+
msgid "A previous completion did not finish. Retrying resumes the remaining steps — quantities are not double-counted."
msgstr "Poprzednie zakończenie nie zostało ukończone. Ponowienie wznawia pozostałe kroki — ilości nie są liczone podwójnie."
diff --git a/packages/locale/locales/pt/erp.po b/packages/locale/locales/pt/erp.po
index 5cf26276d5..0156226bf8 100644
--- a/packages/locale/locales/pt/erp.po
+++ b/packages/locale/locales/pt/erp.po
@@ -728,6 +728,10 @@ msgstr "<0>Adicionar um item de fornecedor</0> para este item para definir um fo
msgid "≈ {0}"
msgstr "≈ {0}"
+#. placeholder {0}: formatDate(moveDate, { dateStyle: "long" }, locale)
+msgid "🚨 Heads up: on {0} your account will be moved to erp.try.carbon.ms"
+msgstr "🚨 Atenção: em {0}, sua conta será transferida para erp.try.carbon.ms"
+
msgid "0 operations"
msgstr "0 operações"
diff --git a/packages/locale/locales/pt/mes.po b/packages/locale/locales/pt/mes.po
index 5b9589a76f..52c50ab5f3 100644
--- a/packages/locale/locales/pt/mes.po
+++ b/packages/locale/locales/pt/mes.po
@@ -103,6 +103,10 @@ msgstr "{recorded}/{0} ordens de produção"
msgid "+{overflow} more"
msgstr "+{overflow} mais"
+#. placeholder {0}: formatDate(moveDate, { dateStyle: "long" }, locale)
+msgid "🚨 Heads up: on {0} your account will be moved to erp.try.carbon.ms"
+msgstr "🚨 Atenção: em {0}, sua conta será transferida para erp.try.carbon.ms"
+
msgid "A previous completion did not finish. Retrying resumes the remaining steps — quantities are not double-counted."
msgstr "Uma conclusão anterior não foi concluída. Tentar novamente retoma as etapas restantes — as quantidades não são contadas duas vezes."
diff --git a/packages/locale/locales/ru/erp.po b/packages/locale/locales/ru/erp.po
index 0f420bf52a..599b554266 100644
--- a/packages/locale/locales/ru/erp.po
+++ b/packages/locale/locales/ru/erp.po
@@ -728,6 +728,10 @@ msgstr "<0>Добавить поставщика деталей</0> для эт
msgid "≈ {0}"
msgstr "≈ {0}"
+#. placeholder {0}: formatDate(moveDate, { dateStyle: "long" }, locale)
+msgid "🚨 Heads up: on {0} your account will be moved to erp.try.carbon.ms"
+msgstr "🚨 Внимание: {0} ваша учётная запись будет перенесена на erp.try.carbon.ms"
+
msgid "0 operations"
msgstr "0 операций"
diff --git a/packages/locale/locales/ru/mes.po b/packages/locale/locales/ru/mes.po
index b2f993e64d..99d65da1f3 100644
--- a/packages/locale/locales/ru/mes.po
+++ b/packages/locale/locales/ru/mes.po
@@ -103,6 +103,10 @@ msgstr "{recorded}/{0} производственных заказов"
msgid "+{overflow} more"
msgstr "+{overflow} ещё"
+#. placeholder {0}: formatDate(moveDate, { dateStyle: "long" }, locale)
+msgid "🚨 Heads up: on {0} your account will be moved to erp.try.carbon.ms"
+msgstr "🚨 Внимание: {0} ваша учётная запись будет перенесена на erp.try.carbon.ms"
+
msgid "A previous completion did not finish. Retrying resumes the remaining steps — quantities are not double-counted."
msgstr "Предыдущее выполнение не завершилось. Повторное выполнение возобновляет оставшиеся шаги — количество не учитывается дважды."
diff --git a/packages/locale/locales/tr/erp.po b/packages/locale/locales/tr/erp.po
index 8fd02e6fb7..370ff586c4 100644
--- a/packages/locale/locales/tr/erp.po
+++ b/packages/locale/locales/tr/erp.po
@@ -728,6 +728,10 @@ msgstr "<0>Bu ürün için bir tedarikçi parçası ekleyin</0> tercih edilen te
msgid "≈ {0}"
msgstr "≈ {0}"
+#. placeholder {0}: formatDate(moveDate, { dateStyle: "long" }, locale)
+msgid "🚨 Heads up: on {0} your account will be moved to erp.try.carbon.ms"
+msgstr "🚨 Dikkat: {0} tarihinde hesabınız erp.try.carbon.ms adresine taşınacak"
+
msgid "0 operations"
msgstr "0 operasyon"
diff --git a/packages/locale/locales/tr/mes.po b/packages/locale/locales/tr/mes.po
index 2c423c0aee..ecb2ee0eb4 100644
--- a/packages/locale/locales/tr/mes.po
+++ b/packages/locale/locales/tr/mes.po
@@ -103,6 +103,10 @@ msgstr "{recorded}/{0} iş emirleri"
msgid "+{overflow} more"
msgstr "+{overflow} daha fazla"
+#. placeholder {0}: formatDate(moveDate, { dateStyle: "long" }, locale)
+msgid "🚨 Heads up: on {0} your account will be moved to erp.try.carbon.ms"
+msgstr "🚨 Dikkat: {0} tarihinde hesabınız erp.try.carbon.ms adresine taşınacak"
+
msgid "A previous completion did not finish. Retrying resumes the remaining steps — quantities are not double-counted."
msgstr "Önceki bir tamamlanma işlemi bitmedi. Yeniden deneme kalan adımları devam ettirir — miktarlar çifte sayılmaz."
diff --git a/packages/locale/locales/zh/erp.po b/packages/locale/locales/zh/erp.po
index 9b2e45eed4..93f8d5b0c3 100644
--- a/packages/locale/locales/zh/erp.po
+++ b/packages/locale/locales/zh/erp.po
@@ -728,6 +728,10 @@ msgstr "<0>为此项目添加供应商零件</0>以设置首选供应商。"
msgid "≈ {0}"
msgstr "≈ {0}"
+#. placeholder {0}: formatDate(moveDate, { dateStyle: "long" }, locale)
+msgid "🚨 Heads up: on {0} your account will be moved to erp.try.carbon.ms"
+msgstr "🚨 提醒:您的账户将于 {0} 迁移至 erp.try.carbon.ms"
+
msgid "0 operations"
msgstr "0个工序"
diff --git a/packages/locale/locales/zh/mes.po b/packages/locale/locales/zh/mes.po
index d71b8e0863..78df6975eb 100644
--- a/packages/locale/locales/zh/mes.po
+++ b/packages/locale/locales/zh/mes.po
@@ -103,6 +103,10 @@ msgstr "{recorded}/{0} 个工单"
msgid "+{overflow} more"
msgstr "还有 +{overflow} 个"
+#. placeholder {0}: formatDate(moveDate, { dateStyle: "long" }, locale)
+msgid "🚨 Heads up: on {0} your account will be moved to erp.try.carbon.ms"
+msgstr "🚨 提醒:您的账户将于 {0} 迁移至 erp.try.carbon.ms"
+
msgid "A previous completion did not finish. Retrying resumes the remaining steps — quantities are not double-counted."
msgstr "之前的完成未完成。重试会恢复剩余步骤 — 数量不会重复计数。"