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(suggestions): opt-in sending suggestions to Carbon Slack

naveenkash786985903cc7
diff --git a/apps/erp/app/components/Layout/Topbar/Suggestion.tsx b/apps/erp/app/components/Layout/Topbar/Suggestion.tsx
index ef17e87afe..a9662cec7b 100644
--- a/apps/erp/app/components/Layout/Topbar/Suggestion.tsx
+++ b/apps/erp/app/components/Layout/Topbar/Suggestion.tsx
@@ -54,6 +54,7 @@ const Suggestion = () => {
const [emoji, setEmoji] = useState(defaultEmoji);
const [emojiPickerOpen, setEmojiPickerOpen] = useState(false);
const [anonymous, setAnonymous] = useState(true);
+ const [sendToCarbon, setSendToCarbon] = useState(true);
const mode = useMode();
const pickerTheme = mode;
const [attachment, setAttachment] = useState<{
@@ -71,6 +72,7 @@ const Suggestion = () => {
setEmoji(defaultEmoji);
setAttachment(null);
setAnonymous(true);
+ setSendToCarbon(true);
popoverTriggerRef.current?.click();
} else if (fetcher.data?.message) {
toast.error(fetcher.data.message);
@@ -134,6 +136,7 @@ const Suggestion = () => {
<Hidden name="emoji" value={emoji} />
<Hidden name="attachmentPath" value={attachment?.path ?? ""} />
<Hidden name="userId" value={anonymous ? "" : user.id} />
+ <Hidden name="sendToCarbon" value={sendToCarbon ? "true" : ""} />
<VStack spacing={2}>
<VStack spacing={2} className="w-full">
<TextAreaControlled
@@ -156,15 +159,30 @@ const Suggestion = () => {
)}
</VStack>
<HStack className="w-full justify-between">
- <HStack spacing={2}>
- <Checkbox
- isChecked={anonymous}
- onCheckedChange={(checked) => setAnonymous(checked === true)}
- />
- <span className="text-sm">
- <Trans>Submit anonymously</Trans>
- </span>
- </HStack>
+ <VStack spacing={2}>
+ <HStack spacing={2}>
+ <Checkbox
+ isChecked={anonymous}
+ onCheckedChange={(checked) =>
+ setAnonymous(checked === true)
+ }
+ />
+ <span className="text-sm">
+ <Trans>Submit anonymously</Trans>
+ </span>
+ </HStack>
+ <HStack spacing={2}>
+ <Checkbox
+ isChecked={sendToCarbon}
+ onCheckedChange={(checked) =>
+ setSendToCarbon(checked === true)
+ }
+ />
+ <span className="text-sm">
+ <Trans>Send to Carbon</Trans>
+ </span>
+ </HStack>
+ </VStack>
<Popover open={emojiPickerOpen} onOpenChange={setEmojiPickerOpen}>
<PopoverTrigger asChild>
<button
diff --git a/apps/erp/app/modules/shared/shared.models.ts b/apps/erp/app/modules/shared/shared.models.ts
index fb86e849bf..820381709b 100644
--- a/apps/erp/app/modules/shared/shared.models.ts
+++ b/apps/erp/app/modules/shared/shared.models.ts
@@ -233,7 +233,10 @@ export const suggestionValidator = z.object({
emoji: z.string().default("💡"),
attachmentPath: z.string().optional(),
path: z.string(),
- userId: zfd.text(z.string().optional())
+ userId: zfd.text(z.string().optional()),
+ sendToCarbon: zfd
+ .text(z.string().optional())
+ .transform((value) => value === "true")
});
export const oAuthCallbackSchema = z.object({
diff --git a/apps/erp/app/routes/x+/resources+/suggestions.new.tsx b/apps/erp/app/routes/x+/resources+/suggestions.new.tsx
index 77bb8b66c1..f57d73bbcf 100644
--- a/apps/erp/app/routes/x+/resources+/suggestions.new.tsx
+++ b/apps/erp/app/routes/x+/resources+/suggestions.new.tsx
@@ -2,6 +2,7 @@ import { requirePermissions } from "@carbon/auth/auth.server";
import { getCarbonServiceRole } from "@carbon/auth/client.server";
import { validator } from "@carbon/form";
import { trigger } from "@carbon/jobs";
+import { getSlackClient } from "@carbon/lib/slack.server";
import { getLogger } from "@carbon/logger";
import { NotificationEvent } from "@carbon/notifications";
import type { ActionFunctionArgs } from "react-router";
@@ -28,7 +29,8 @@ export async function action({ request }: ActionFunctionArgs) {
emoji,
suggestion,
path,
- userId: formUserId
+ userId: formUserId,
+ sendToCarbon
} = validation.data;
const serviceRole = await getCarbonServiceRole();
@@ -56,6 +58,68 @@ export async function action({ request }: ActionFunctionArgs) {
const company = await getCompany(serviceRole, companyId);
+ if (sendToCarbon) {
+ try {
+ const [user, attachmentUrl] = await Promise.all([
+ formUserId
+ ? serviceRole
+ .from("user")
+ .select("firstName, lastName, email")
+ .eq("id", formUserId)
+ .single()
+ : Promise.resolve(null),
+ attachmentPath
+ ? serviceRole.storage
+ .from("private")
+ .createSignedUrl(attachmentPath, 60 * 60 * 24 * 7)
+ .then((result) => result.data?.signedUrl ?? null)
+ : Promise.resolve(null)
+ ]);
+
+ const submittedBy = user?.data
+ ? `${user.data.firstName ?? ""} ${user.data.lastName ?? ""} <${
+ user.data.email ?? ""
+ }>`
+ : "Anonymous";
+
+ const slackClient = getSlackClient();
+ await slackClient.sendMessage({
+ channel: "#feedback",
+ text: `New suggestion from ${company.data?.name ?? companyId}`,
+ blocks: [
+ {
+ type: "section",
+ text: {
+ type: "mrkdwn",
+ text: `${emoji} New suggestion from *${
+ company.data?.name ?? companyId
+ }*`
+ }
+ },
+ {
+ type: "section",
+ text: { type: "mrkdwn", text: suggestion }
+ },
+ {
+ type: "section",
+ fields: [
+ { type: "mrkdwn", text: `*Submitted by:*\n${submittedBy}` },
+ { type: "mrkdwn", text: `*Page:*\n${path}` },
+ {
+ type: "mrkdwn",
+ text: `*Attachment:*\n${
+ attachmentUrl ? `<${attachmentUrl}|View image>` : "None"
+ }`
+ }
+ ]
+ }
+ ]
+ });
+ } catch (err) {
+ logger.error("Failed to send suggestion to Slack", { error: err });
+ }
+ }
+
if (!company.error && company.data?.suggestionNotificationGroup?.length) {
try {
await trigger("notify", {
diff --git a/apps/mes/app/components/Suggestion.tsx b/apps/mes/app/components/Suggestion.tsx
index eac30b9c41..69a0f6fb81 100644
--- a/apps/mes/app/components/Suggestion.tsx
+++ b/apps/mes/app/components/Suggestion.tsx
@@ -53,6 +53,7 @@ const Suggestion = () => {
const [emoji, setEmoji] = useState("💡");
const [emojiPickerOpen, setEmojiPickerOpen] = useState(false);
const [anonymous, setAnonymous] = useState(true);
+ const [sendToCarbon, setSendToCarbon] = useState(true);
const mode = useMode();
const pickerTheme = mode;
const [attachment, setAttachment] = useState<{
@@ -71,6 +72,7 @@ const Suggestion = () => {
setEmoji("💡");
setAttachment(null);
setAnonymous(true);
+ setSendToCarbon(true);
popoverTriggerRef.current?.click();
} else if (fetcher.data?.message) {
toast.error(fetcher.data.message);
@@ -135,6 +137,7 @@ const Suggestion = () => {
<Hidden name="emoji" value={emoji} />
<Hidden name="attachmentPath" value={attachment?.path ?? ""} />
<Hidden name="userId" value={anonymous ? "" : user.id} />
+ <Hidden name="sendToCarbon" value={sendToCarbon ? "true" : ""} />
<VStack spacing={2}>
<VStack spacing={2} className="w-full">
<TextAreaControlled
@@ -157,15 +160,30 @@ const Suggestion = () => {
)}
</VStack>
<HStack className="w-full justify-between">
- <HStack spacing={2}>
- <Checkbox
- isChecked={anonymous}
- onCheckedChange={(checked) => setAnonymous(checked === true)}
- />
- <span className="text-sm">
- <Trans>Submit anonymously</Trans>
- </span>
- </HStack>
+ <VStack spacing={2}>
+ <HStack spacing={2}>
+ <Checkbox
+ isChecked={anonymous}
+ onCheckedChange={(checked) =>
+ setAnonymous(checked === true)
+ }
+ />
+ <span className="text-sm">
+ <Trans>Submit anonymously</Trans>
+ </span>
+ </HStack>
+ <HStack spacing={2}>
+ <Checkbox
+ isChecked={sendToCarbon}
+ onCheckedChange={(checked) =>
+ setSendToCarbon(checked === true)
+ }
+ />
+ <span className="text-sm">
+ <Trans>Send to Carbon</Trans>
+ </span>
+ </HStack>
+ </VStack>
<Popover open={emojiPickerOpen} onOpenChange={setEmojiPickerOpen}>
<PopoverTrigger asChild>
<button
diff --git a/apps/mes/app/routes/x+/suggestion.tsx b/apps/mes/app/routes/x+/suggestion.tsx
index ea91a9fe22..bde5e6a736 100644
--- a/apps/mes/app/routes/x+/suggestion.tsx
+++ b/apps/mes/app/routes/x+/suggestion.tsx
@@ -2,6 +2,7 @@ import { requirePermissions } from "@carbon/auth/auth.server";
import { getCarbonServiceRole } from "@carbon/auth/client.server";
import { validator } from "@carbon/form";
import { trigger } from "@carbon/jobs";
+import { getSlackClient } from "@carbon/lib/slack.server";
import { getLogger } from "@carbon/logger";
import { NotificationEvent } from "@carbon/notifications";
import type { ActionFunctionArgs } from "react-router";
@@ -27,7 +28,8 @@ export async function action({ request }: ActionFunctionArgs) {
emoji,
suggestion,
path,
- userId: formUserId
+ userId: formUserId,
+ sendToCarbon
} = validation.data;
const serviceRole = await getCarbonServiceRole();
@@ -55,10 +57,72 @@ export async function action({ request }: ActionFunctionArgs) {
const company = await serviceRole
.from("company")
- .select("suggestionNotificationGroup")
+ .select("name, suggestionNotificationGroup")
.eq("id", companyId)
.single();
+ if (sendToCarbon) {
+ try {
+ const [user, attachmentUrl] = await Promise.all([
+ formUserId
+ ? serviceRole
+ .from("user")
+ .select("firstName, lastName, email")
+ .eq("id", formUserId)
+ .single()
+ : Promise.resolve(null),
+ attachmentPath
+ ? serviceRole.storage
+ .from("private")
+ .createSignedUrl(attachmentPath, 60 * 60 * 24 * 7)
+ .then((result) => result.data?.signedUrl ?? null)
+ : Promise.resolve(null)
+ ]);
+
+ const submittedBy = user?.data
+ ? `${user.data.firstName ?? ""} ${user.data.lastName ?? ""} <${
+ user.data.email ?? ""
+ }>`
+ : "Anonymous";
+
+ const slackClient = getSlackClient();
+ await slackClient.sendMessage({
+ channel: "#feedback",
+ text: `New suggestion from ${company.data?.name ?? companyId}`,
+ blocks: [
+ {
+ type: "section",
+ text: {
+ type: "mrkdwn",
+ text: `${emoji} New suggestion from *${
+ company.data?.name ?? companyId
+ }*`
+ }
+ },
+ {
+ type: "section",
+ text: { type: "mrkdwn", text: suggestion }
+ },
+ {
+ type: "section",
+ fields: [
+ { type: "mrkdwn", text: `*Submitted by:*\n${submittedBy}` },
+ { type: "mrkdwn", text: `*Page:*\n${path}` },
+ {
+ type: "mrkdwn",
+ text: `*Attachment:*\n${
+ attachmentUrl ? `<${attachmentUrl}|View image>` : "None"
+ }`
+ }
+ ]
+ }
+ ]
+ });
+ } catch (err) {
+ log.error("Failed to send suggestion to Slack", { error: err });
+ }
+ }
+
if (!company.error && company.data?.suggestionNotificationGroup?.length) {
try {
await trigger("notify", {
diff --git a/apps/mes/app/services/models.ts b/apps/mes/app/services/models.ts
index 94e60c5945..d4f3a4ce3c 100644
--- a/apps/mes/app/services/models.ts
+++ b/apps/mes/app/services/models.ts
@@ -127,7 +127,10 @@ export const suggestionValidator = z.object({
emoji: z.string().default("💡"),
attachmentPath: z.string().optional(),
path: z.string(),
- userId: zfd.text(z.string().optional())
+ userId: zfd.text(z.string().optional()),
+ sendToCarbon: zfd
+ .text(z.string().optional())
+ .transform((value) => value === "true")
});
export const productionEventType = ["Setup", "Labor", "Machine"] as const;
diff --git a/packages/locale/locales/de/erp.po b/packages/locale/locales/de/erp.po
index 52dd180b58..287ac8ed48 100644
--- a/packages/locale/locales/de/erp.po
+++ b/packages/locale/locales/de/erp.po
@@ -10614,6 +10614,9 @@ msgstr "Einladungen senden"
msgid "Send RFQ to Suppliers"
msgstr "RFQ an Lieferanten senden"
+msgid "Send to Carbon"
+msgstr "An Carbon senden"
+
msgid "Send Via"
msgstr "Senden über"
diff --git a/packages/locale/locales/de/mes.po b/packages/locale/locales/de/mes.po
index a4061c87f0..378186480e 100644
--- a/packages/locale/locales/de/mes.po
+++ b/packages/locale/locales/de/mes.po
@@ -911,6 +911,9 @@ msgstr "Wählen Sie den Vorgang aus, zu dem Sie zurückkehren möchten. Alle Vor
msgid "Send"
msgstr "Senden"
+msgid "Send to Carbon"
+msgstr "An Carbon senden"
+
msgid "Serial"
msgstr "Serie"
diff --git a/packages/locale/locales/en/erp.po b/packages/locale/locales/en/erp.po
index 357dafd6bc..005690694e 100644
--- a/packages/locale/locales/en/erp.po
+++ b/packages/locale/locales/en/erp.po
@@ -10614,6 +10614,9 @@ msgstr "Send Invites"
msgid "Send RFQ to Suppliers"
msgstr "Send RFQ to Suppliers"
+msgid "Send to Carbon"
+msgstr "Send to Carbon"
+
msgid "Send Via"
msgstr "Send Via"
diff --git a/packages/locale/locales/en/mes.po b/packages/locale/locales/en/mes.po
index e9a04b46c4..c20fee8968 100644
--- a/packages/locale/locales/en/mes.po
+++ b/packages/locale/locales/en/mes.po
@@ -911,6 +911,9 @@ msgstr "Select the operation to go back to. All operations from that point to th
msgid "Send"
msgstr "Send"
+msgid "Send to Carbon"
+msgstr "Send to Carbon"
+
msgid "Serial"
msgstr "Serial"
diff --git a/packages/locale/locales/es/erp.po b/packages/locale/locales/es/erp.po
index 7b0894a31e..c05e4dffb1 100644
--- a/packages/locale/locales/es/erp.po
+++ b/packages/locale/locales/es/erp.po
@@ -10614,6 +10614,9 @@ msgstr "Enviar invitaciones"
msgid "Send RFQ to Suppliers"
msgstr "Enviar RFQ a Proveedores"
+msgid "Send to Carbon"
+msgstr "Enviar a Carbon"
+
msgid "Send Via"
msgstr "Enviar por"
diff --git a/packages/locale/locales/es/mes.po b/packages/locale/locales/es/mes.po
index 3faf4b09f3..322a40eadc 100644
--- a/packages/locale/locales/es/mes.po
+++ b/packages/locale/locales/es/mes.po
@@ -911,6 +911,9 @@ msgstr "Selecciona la operación a la que volver. Todas las operaciones desde es
msgid "Send"
msgstr "Enviar"
+msgid "Send to Carbon"
+msgstr "Enviar a Carbon"
+
msgid "Serial"
msgstr "Serie"
diff --git a/packages/locale/locales/fr/erp.po b/packages/locale/locales/fr/erp.po
index b78a2b2f43..205d74aec7 100644
--- a/packages/locale/locales/fr/erp.po
+++ b/packages/locale/locales/fr/erp.po
@@ -10614,6 +10614,9 @@ msgstr "Envoyer les invitations"
msgid "Send RFQ to Suppliers"
msgstr "Envoyer l'appel d'offres aux fournisseurs"
+msgid "Send to Carbon"
+msgstr "Envoyer à Carbon"
+
msgid "Send Via"
msgstr "Envoyer via"
diff --git a/packages/locale/locales/fr/mes.po b/packages/locale/locales/fr/mes.po
index ab1cc3c398..4fc3a64c36 100644
--- a/packages/locale/locales/fr/mes.po
+++ b/packages/locale/locales/fr/mes.po
@@ -911,6 +911,9 @@ msgstr "Sélectionnez l'opération à laquelle revenir. Toutes les opérations
msgid "Send"
msgstr "Envoyer"
+msgid "Send to Carbon"
+msgstr "Envoyer à Carbon"
+
msgid "Serial"
msgstr "Série"
diff --git a/packages/locale/locales/hi/erp.po b/packages/locale/locales/hi/erp.po
index 22474f5b47..72dc2cebc7 100644
--- a/packages/locale/locales/hi/erp.po
+++ b/packages/locale/locales/hi/erp.po
@@ -10614,6 +10614,9 @@ msgstr "आमंत्रण भेजें"
msgid "Send RFQ to Suppliers"
msgstr "आपूर्तिकर्ताओं को RFQ भेजें"
+msgid "Send to Carbon"
+msgstr "Carbon को भेजें"
+
msgid "Send Via"
msgstr "के माध्यम से भेजें"
diff --git a/packages/locale/locales/hi/mes.po b/packages/locale/locales/hi/mes.po
index ff34545641..24ab8339f9 100644
--- a/packages/locale/locales/hi/mes.po
+++ b/packages/locale/locales/hi/mes.po
@@ -911,6 +911,9 @@ msgstr "उस ऑपरेशन को चुनें जिस पर वा
msgid "Send"
msgstr "भेजें"
+msgid "Send to Carbon"
+msgstr "Carbon को भेजें"
+
msgid "Serial"
msgstr "सीरीज़"
diff --git a/packages/locale/locales/it/erp.po b/packages/locale/locales/it/erp.po
index faa76e79f5..a85db002da 100644
--- a/packages/locale/locales/it/erp.po
+++ b/packages/locale/locales/it/erp.po
@@ -10614,6 +10614,9 @@ msgstr "Invia inviti"
msgid "Send RFQ to Suppliers"
msgstr "Invia RFQ ai Fornitori"
+msgid "Send to Carbon"
+msgstr "Invia a Carbon"
+
msgid "Send Via"
msgstr "Invia tramite"
diff --git a/packages/locale/locales/it/mes.po b/packages/locale/locales/it/mes.po
index 5e00f0e158..791b0e02b3 100644
--- a/packages/locale/locales/it/mes.po
+++ b/packages/locale/locales/it/mes.po
@@ -911,6 +911,9 @@ msgstr "Seleziona l'operazione a cui tornare. Tutte le operazioni da quel punto
msgid "Send"
msgstr "Invia"
+msgid "Send to Carbon"
+msgstr "Invia a Carbon"
+
msgid "Serial"
msgstr "Seriale"
diff --git a/packages/locale/locales/ja/erp.po b/packages/locale/locales/ja/erp.po
index 5eb9cf8b38..9166aee2cf 100644
--- a/packages/locale/locales/ja/erp.po
+++ b/packages/locale/locales/ja/erp.po
@@ -10614,6 +10614,9 @@ msgstr "招待を送信"
msgid "Send RFQ to Suppliers"
msgstr "RFQをサプライヤーに送信"
+msgid "Send to Carbon"
+msgstr "Carbon に送信"
+
msgid "Send Via"
msgstr "経由で送信"
diff --git a/packages/locale/locales/ja/mes.po b/packages/locale/locales/ja/mes.po
index 791d884fa3..1dfdabb4b3 100644
--- a/packages/locale/locales/ja/mes.po
+++ b/packages/locale/locales/ja/mes.po
@@ -911,6 +911,9 @@ msgstr "戻る操作を選択してください。その時点から現在の操
msgid "Send"
msgstr "送信"
+msgid "Send to Carbon"
+msgstr "Carbonに送信"
+
msgid "Serial"
msgstr "シリアル"
diff --git a/packages/locale/locales/ko/erp.po b/packages/locale/locales/ko/erp.po
index 1e55dcc22b..a3123b68dc 100644
--- a/packages/locale/locales/ko/erp.po
+++ b/packages/locale/locales/ko/erp.po
@@ -10614,6 +10614,9 @@ msgstr "초대 보내기"
msgid "Send RFQ to Suppliers"
msgstr "공급업체에 RFQ 전송"
+msgid "Send to Carbon"
+msgstr "Carbon에 보내기"
+
msgid "Send Via"
msgstr "전송 방법"
diff --git a/packages/locale/locales/ko/mes.po b/packages/locale/locales/ko/mes.po
index c56a09501b..799969a9ff 100644
--- a/packages/locale/locales/ko/mes.po
+++ b/packages/locale/locales/ko/mes.po
@@ -911,6 +911,9 @@ msgstr "되돌아갈 공정작업을 선택하세요. 해당 시점부터 현재
msgid "Send"
msgstr "전송"
+msgid "Send to Carbon"
+msgstr "Carbon으로 보내기"
+
msgid "Serial"
msgstr "일련번호"
diff --git a/packages/locale/locales/pl/erp.po b/packages/locale/locales/pl/erp.po
index 2dc845f809..525d5d7e55 100644
--- a/packages/locale/locales/pl/erp.po
+++ b/packages/locale/locales/pl/erp.po
@@ -10614,6 +10614,9 @@ msgstr "Wyślij zaproszenia"
msgid "Send RFQ to Suppliers"
msgstr "Wyślij zapytanie ofertowe do dostawców"
+msgid "Send to Carbon"
+msgstr "Wyślij do Carbon"
+
msgid "Send Via"
msgstr "Wyślij przez"
diff --git a/packages/locale/locales/pl/mes.po b/packages/locale/locales/pl/mes.po
index 254f100769..00d439b821 100644
--- a/packages/locale/locales/pl/mes.po
+++ b/packages/locale/locales/pl/mes.po
@@ -911,6 +911,9 @@ msgstr "Wybierz operację, do której chcesz wrócić. Wszystkie operacje od teg
msgid "Send"
msgstr "Wyślij"
+msgid "Send to Carbon"
+msgstr "Wyślij do Carbon"
+
msgid "Serial"
msgstr "Seryjny"
diff --git a/packages/locale/locales/pt/erp.po b/packages/locale/locales/pt/erp.po
index 48a5751b6c..2d2924e113 100644
--- a/packages/locale/locales/pt/erp.po
+++ b/packages/locale/locales/pt/erp.po
@@ -10614,6 +10614,9 @@ msgstr "Enviar Convites"
msgid "Send RFQ to Suppliers"
msgstr "Enviar RFQ para Fornecedores"
+msgid "Send to Carbon"
+msgstr "Enviar para Carbon"
+
msgid "Send Via"
msgstr "Enviar Via"
diff --git a/packages/locale/locales/pt/mes.po b/packages/locale/locales/pt/mes.po
index 70b833daaa..ffc15f3fa2 100644
--- a/packages/locale/locales/pt/mes.po
+++ b/packages/locale/locales/pt/mes.po
@@ -911,6 +911,9 @@ msgstr "Selecione a operação para voltar. Todas as operações desse ponto at
msgid "Send"
msgstr "Enviar"
+msgid "Send to Carbon"
+msgstr "Enviar para Carbon"
+
msgid "Serial"
msgstr "Série"
diff --git a/packages/locale/locales/ru/erp.po b/packages/locale/locales/ru/erp.po
index a64a0e057b..c4c25ccd55 100644
--- a/packages/locale/locales/ru/erp.po
+++ b/packages/locale/locales/ru/erp.po
@@ -10614,6 +10614,9 @@ msgstr "Отправить приглашения"
msgid "Send RFQ to Suppliers"
msgstr "Отправить РФП поставщикам"
+msgid "Send to Carbon"
+msgstr "Отправить в Carbon"
+
msgid "Send Via"
msgstr "Отправить через"
diff --git a/packages/locale/locales/ru/mes.po b/packages/locale/locales/ru/mes.po
index 1b431ca985..627a01d51e 100644
--- a/packages/locale/locales/ru/mes.po
+++ b/packages/locale/locales/ru/mes.po
@@ -911,6 +911,9 @@ msgstr "Выберите операцию, к которой нужно верн
msgid "Send"
msgstr "Отправить"
+msgid "Send to Carbon"
+msgstr "Отправить в Carbon"
+
msgid "Serial"
msgstr "Серийный"
diff --git a/packages/locale/locales/tr/erp.po b/packages/locale/locales/tr/erp.po
index c07602d193..c8e704c013 100644
--- a/packages/locale/locales/tr/erp.po
+++ b/packages/locale/locales/tr/erp.po
@@ -10614,6 +10614,9 @@ msgstr "Davet Gönder"
msgid "Send RFQ to Suppliers"
msgstr "Tedarikçilere RFQ Gönder"
+msgid "Send to Carbon"
+msgstr "Carbon'a Gönder"
+
msgid "Send Via"
msgstr "Gönderim Yolu"
diff --git a/packages/locale/locales/tr/mes.po b/packages/locale/locales/tr/mes.po
index 0edf9bd8a1..6c22f2780c 100644
--- a/packages/locale/locales/tr/mes.po
+++ b/packages/locale/locales/tr/mes.po
@@ -911,6 +911,9 @@ msgstr "Geri dönülecek işlemi seçin. O noktadan mevcut işleme kadar olan t
msgid "Send"
msgstr "Gönder"
+msgid "Send to Carbon"
+msgstr "Carbon'a Gönder"
+
msgid "Serial"
msgstr "Seri"
diff --git a/packages/locale/locales/zh/erp.po b/packages/locale/locales/zh/erp.po
index 1ed2d44733..bf5df5ecb2 100644
--- a/packages/locale/locales/zh/erp.po
+++ b/packages/locale/locales/zh/erp.po
@@ -10614,6 +10614,9 @@ msgstr "发送邀请"
msgid "Send RFQ to Suppliers"
msgstr "向供应商发送询价单"
+msgid "Send to Carbon"
+msgstr "发送至 Carbon"
+
msgid "Send Via"
msgstr "通过以下方式发送"
diff --git a/packages/locale/locales/zh/mes.po b/packages/locale/locales/zh/mes.po
index 456365a84c..1aa82ceab7 100644
--- a/packages/locale/locales/zh/mes.po
+++ b/packages/locale/locales/zh/mes.po
@@ -911,6 +911,9 @@ msgstr "选择要返回的操作。从该点到当前操作的所有操作都将
msgid "Send"
msgstr "发送"
+msgid "Send to Carbon"
+msgstr "发送至 Carbon"
+
msgid "Serial"
msgstr "序列号"