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(items): batch the change notice guard's reads and lock the toggle in the subassembly panel
Raul472fb0416696
diff --git a/apps/erp/app/modules/items/items.server.test.ts b/apps/erp/app/modules/items/items.server.test.tsindex f364842918..754c9915ab 100644--- a/apps/erp/app/modules/items/items.server.test.ts+++ b/apps/erp/app/modules/items/items.server.test.ts@@ -61,8 +61,14 @@ describe("getLockVerdict", () => {type Row = Record<string, unknown> | null;+// PostgREST's `max_rows`, mirrored so a read that asks for too much silently+// comes back short — exactly the failure the batching exists to avoid.+const MAX_ROWS = 1000;+// Stands in for the two list reads the batch guard makes. Supabase builders are-// thenables, so the chain resolves on await without a terminal method.+// thenables, so the chain resolves on await without a terminal method. Each+// read is answered from the ids its own `in` filter carries and truncated at+// MAX_ROWS, so a guard that stopped batching visibly drops rows.function fakeListClient(rows: { item?: Row[]; changeOrder?: Row[] },errors: { item?: boolean; changeOrder?: boolean } = {}@@ -70,15 +76,31 @@ function fakeListClient(return {from(table: string) {const failed = errors[table as keyof typeof errors] === true;- const result = {- data: failed ? null : (rows[table as keyof typeof rows] ?? []),- error: failed ? { message: `failed to read ${table}` } : null- };+ const all = rows[table as keyof typeof rows] ?? [];+ let requested: string[] | null = null;const builder = {select: () => builder,- in: () => builder,+ in: (_column: string, ids: string[]) => {+ requested = ids;+ return builder;+ },eq: () => builder,- then: (resolve: (value: typeof result) => unknown) => resolve(result)+ then: (+ resolve: (value: {+ data: Row[] | null;+ error: { message: string } | null;+ }) => unknown+ ) =>+ resolve({+ data: failed+ ? null+ : all+ .filter(+ (row) => !requested || requested.includes(row?.id as string)+ )+ .slice(0, MAX_ROWS),+ error: failed ? { message: `failed to read ${table}` } : null+ })};return builder;}@@ -159,6 +181,35 @@ describe("getUnreleasedChangeOrderItems", () => {});});+ // PostgREST caps a response at 1000 rows, so the guard walks the ids in+ // batches. Without that, an item past the cap reads as unowned and activates.+ it("finds an offending item past the response cap", async () => {+ const itemIds = Array.from({ length: 1200 }, (_, i) => `item_${i}`);+ const client = fakeListClient({+ item: itemIds.map((id) => ({+ id,+ readableIdWithRevision: id,+ changeOrderId: id === "item_1100" ? "co_open" : null+ })),+ changeOrder: [+ { id: "co_open", changeOrderId: "ECO-000001", status: "Draft" }+ ]+ });++ expect(+ await getUnreleasedChangeOrderItems(client, { itemIds, companyId })+ ).toEqual({+ data: [+ {+ itemId: "item_1100",+ itemName: "item_1100",+ changeOrderReadableId: "ECO-000001"+ }+ ],+ error: null+ });+ });+// A read that did not answer says nothing about the items, so callers block// rather than wave the write through on a database blip.it("reports an error when the item read fails", async () => {diff --git a/apps/erp/app/modules/items/items.server.ts b/apps/erp/app/modules/items/items.server.tsindex f934ce67d0..4e6faf6d57 100644--- a/apps/erp/app/modules/items/items.server.ts+++ b/apps/erp/app/modules/items/items.server.ts@@ -5,6 +5,7 @@ import type { Kysely, KyselyDatabase } from "@carbon/database/client";import { trigger } from "@carbon/jobs";import { getLogger } from "@carbon/logger";import { NotificationEvent } from "@carbon/notifications";+import { chunkArray } from "@carbon/utils";import type { SupabaseClient } from "@supabase/supabase-js";import { data } from "react-router";import {@@ -710,8 +711,28 @@ export type UnreleasedChangeOrderItem = {changeOrderReadableId: string;};-// Two queries regardless of how many ids come in — the bulk item update can-// carry a whole table selection.+// PostgREST caps a response at `max_rows` (1000) and an `in` filter rides in the+// URL, so both reads walk their ids in batches. Truncating either one would drop+// an item from the answer, and a missing row reads as "no change order holds it".+const CHANGE_ORDER_ID_BATCH_SIZE = 500;++async function readIdsInBatches<T>(+ ids: string[],+ read: (+ batch: string[]+ ) => PromiseLike<{ data: T[] | null; error: unknown | null }>+): Promise<{ data: T[]; error: unknown | null }> {+ const rows: T[] = [];+ for (const batch of chunkArray(ids, CHANGE_ORDER_ID_BATCH_SIZE)) {+ const result = await read(batch);+ if (result.error) return { data: [], error: result.error };+ rows.push(...(result.data ?? []));+ }+ return { data: rows, error: null };+}++// Two queries per batch of ids — the bulk item update can carry a whole table+// selection.//// `error` is a message to show the user, not a thrown failure — a read that did// not answer says nothing about the items, so callers block on it rather than@@ -722,11 +743,13 @@ export async function getUnreleasedChangeOrderItems(): Promise<{ data: UnreleasedChangeOrderItem[]; error: string | null }> {if (args.itemIds.length === 0) return { data: [], error: null };- const items = await client- .from("item")- .select("id, readableIdWithRevision, changeOrderId")- .in("id", args.itemIds)- .eq("companyId", args.companyId);+ const items = await readIdsInBatches(args.itemIds, (batch) =>+ client+ .from("item")+ .select("id, readableIdWithRevision, changeOrderId")+ .in("id", batch)+ .eq("companyId", args.companyId)+ );if (items.error) {logger.error("Failed to read items for change order check", {@@ -745,11 +768,15 @@ export async function getUnreleasedChangeOrderItems();if (owned.length === 0) return { data: [], error: null };- const changeOrders = await client- .from("changeOrder")- .select("id, changeOrderId, status")- .in("id", [...new Set(owned.map((item) => item.changeOrderId))])- .eq("companyId", args.companyId);+ const changeOrders = await readIdsInBatches(+ [...new Set(owned.map((item) => item.changeOrderId))],+ (batch) =>+ client+ .from("changeOrder")+ .select("id, changeOrderId, status")+ .in("id", batch)+ .eq("companyId", args.companyId)+ );if (changeOrders.error) {logger.error("Failed to read change orders for change order check", {diff --git a/apps/erp/app/modules/items/ui/Item/SelectedItemProperties.tsx b/apps/erp/app/modules/items/ui/Item/SelectedItemProperties.tsxindex 2c902e8102..d6fda94a3f 100644--- a/apps/erp/app/modules/items/ui/Item/SelectedItemProperties.tsx+++ b/apps/erp/app/modules/items/ui/Item/SelectedItemProperties.tsx@@ -82,7 +82,8 @@ export function SelectedItemProperties({files: filesPromise,supplierParts: d.supplierParts,pickMethods: d.pickMethods,- tags: d.tags+ tags: d.tags,+ unreleasedChangeOrder: d.unreleasedChangeOrder};switch (d.type) {diff --git a/apps/erp/app/modules/items/ui/Parts/PartProperties.tsx b/apps/erp/app/modules/items/ui/Parts/PartProperties.tsxindex 2cbb171f13..a5db44b19e 100644--- a/apps/erp/app/modules/items/ui/Parts/PartProperties.tsx+++ b/apps/erp/app/modules/items/ui/Parts/PartProperties.tsx@@ -66,6 +66,10 @@ export type PartPropertiesData = {pickMethods: PickMethod[];makeMethods: Promise<PostgrestResponse<MakeMethod>>;tags: { name: string }[];+ // Set while the change notice that minted this item is still open. Optional+ // because the change-order card builds this object itself and never renders+ // the Active toggle.+ unreleasedChangeOrder?: UnreleasedChangeOrderItem | null;};type PartPropertiesProps = {@@ -236,9 +240,9 @@ const PartProperties = ({// the toggle is locked: an unreleased revision switched Active by hand reaches// the item pickers, MRP and job creation carrying the notice's draft BOM.// An already-active part is left alone so it can still be switched off.- const activationLockId = routeDataFromRoute?.partSummary?.active+ const activationLockId = routeData?.partSummary?.active? undefined- : routeDataFromRoute?.unreleasedChangeOrder?.changeOrderReadableId;+ : routeData?.unreleasedChangeOrder?.changeOrderReadableId;const [suppliers] = useSuppliers();diff --git a/apps/erp/app/modules/items/ui/Tools/ToolProperties.tsx b/apps/erp/app/modules/items/ui/Tools/ToolProperties.tsxindex 4a159ab45e..15b4e733b0 100644--- a/apps/erp/app/modules/items/ui/Tools/ToolProperties.tsx+++ b/apps/erp/app/modules/items/ui/Tools/ToolProperties.tsx@@ -59,6 +59,8 @@ type ToolPropertiesProps = {pickMethods: PickMethod[];makeMethods: Promise<PostgrestResponse<MakeMethod>>;tags: { name: string }[];+ // Set while the change notice that minted this item is still open.+ unreleasedChangeOrder?: UnreleasedChangeOrderItem | null;};};@@ -193,9 +195,9 @@ const ToolProperties = ({ data }: ToolPropertiesProps) => {// the toggle is locked: an unreleased revision switched Active by hand reaches// the item pickers, MRP and job creation carrying the notice's draft BOM.// An already-active tool is left alone so it can still be switched off.- const activationLockId = routeDataFromRoute?.toolSummary?.active+ const activationLockId = routeData?.toolSummary?.active? undefined- : routeDataFromRoute?.unreleasedChangeOrder?.changeOrderReadableId;+ : routeData?.unreleasedChangeOrder?.changeOrderReadableId;const [suppliers] = useSuppliers();diff --git a/apps/erp/app/routes/x+/items+/$itemId.properties.tsx b/apps/erp/app/routes/x+/items+/$itemId.properties.tsxindex 75aa56b6ca..c5544c6942 100644--- a/apps/erp/app/routes/x+/items+/$itemId.properties.tsx+++ b/apps/erp/app/routes/x+/items+/$itemId.properties.tsx@@ -20,6 +20,8 @@ import {getSupplierParts,getTool} from "~/modules/items";+import type { UnreleasedChangeOrderItem } from "~/modules/items/items.server";+import { getUnreleasedChangeOrderForItem } from "~/modules/items/items.server";import { getLocationsList } from "~/modules/resources";import { getTagsList } from "~/modules/shared";import type { ListItem } from "~/types";@@ -31,6 +33,9 @@ type CommonFields = {files: ItemFile[];tags: { name: string }[];locations: ListItem[];+ // Set while the change notice that minted this item is still open. Mirrors the+ // part/tool routes so the properties panel locks the Active toggle here too.+ unreleasedChangeOrder: UnreleasedChangeOrderItem | null;};export type ItemPropertiesResult = CommonFields &@@ -76,7 +81,8 @@ export async function loader({ request, params }: LoaderFunctionArgs) {tags,makeMethods,files,- locations+ locations,+ unreleasedChangeOrder] = await Promise.all([getSummary(client, itemId, companyId),getSupplierParts(client, itemId, companyId),@@ -84,7 +90,8 @@ export async function loader({ request, params }: LoaderFunctionArgs) {getTagsList(client, companyId, tagTable),needsMakeMethods ? getMakeMethods(client, itemId, companyId) : null,getItemFiles(client, itemId, companyId),- getLocationsList(client, companyId)+ getLocationsList(client, companyId),+ getUnreleasedChangeOrderForItem(client, { itemId, companyId })]);if (!summary.data) {@@ -104,7 +111,8 @@ export async function loader({ request, params }: LoaderFunctionArgs) {pickMethods: pickMethods.data ?? [],files,tags: tags.data ?? [],- locations: locations.data ?? []+ locations: locations.data ?? [],+ unreleasedChangeOrder};// Each branch casts summary.data to the correct type for the discriminateddiff --git a/packages/locale/locales/de/erp.po b/packages/locale/locales/de/erp.poindex 29538a27a8..e1881df00f 100644--- a/packages/locale/locales/de/erp.po+++ b/packages/locale/locales/de/erp.po@@ -15464,7 +15464,7 @@ msgid "This part has {quantityOnHand} on hand at this location. No Stock means imsgstr "Dieses Teil hat {quantityOnHand} auf Lager an diesem Standort. „Kein Bestand\" bedeutet, dass es weder geplant noch verbraucht wird."msgid "This part is activated when change notice {activationLockId} is released."-msgstr ""+msgstr "Dieses Teil wird aktiviert, wenn die Änderungsmitteilung {activationLockId} freigegeben wird."msgid "This part is being phased out."msgstr "Dieses Teil wird schrittweise eingestellt."@@ -15516,7 +15516,7 @@ msgid "this supplier"msgstr "dieser Lieferant"msgid "This tool is activated when change notice {activationLockId} is released."-msgstr ""+msgstr "Dieses Werkzeug wird aktiviert, wenn die Änderungsmitteilung {activationLockId} freigegeben wird."msgid "This updates the theme for all users of the application"msgstr "Dies aktualisiert das Design für alle Benutzer der Anwendung"diff --git a/packages/locale/locales/es/erp.po b/packages/locale/locales/es/erp.poindex ec02e44b1e..573d434ae0 100644--- a/packages/locale/locales/es/erp.po+++ b/packages/locale/locales/es/erp.po@@ -15464,7 +15464,7 @@ msgid "This part has {quantityOnHand} on hand at this location. No Stock means imsgstr "Esta pieza tiene {quantityOnHand} disponible en esta ubicación. Sin Stock significa que no será ni planificada ni consumida."msgid "This part is activated when change notice {activationLockId} is released."-msgstr ""+msgstr "Esta parte se activa cuando se libera el aviso de cambio {activationLockId}."msgid "This part is being phased out."msgstr "Esta pieza se está descontinuando."@@ -15516,7 +15516,7 @@ msgid "this supplier"msgstr "este proveedor"msgid "This tool is activated when change notice {activationLockId} is released."-msgstr ""+msgstr "Esta herramienta se activa cuando se libera el aviso de cambio {activationLockId}."msgid "This updates the theme for all users of the application"msgstr "Esto actualiza el tema para todos los usuarios de la aplicación"diff --git a/packages/locale/locales/fr/erp.po b/packages/locale/locales/fr/erp.poindex 29c583d1f9..b318a3df3e 100644--- a/packages/locale/locales/fr/erp.po+++ b/packages/locale/locales/fr/erp.po@@ -15464,7 +15464,7 @@ msgid "This part has {quantityOnHand} on hand at this location. No Stock means imsgstr "Cette pièce a {quantityOnHand} en stock à cet endroit. Aucun stock signifie qu'elle ne sera ni planifiée ni consommée."msgid "This part is activated when change notice {activationLockId} is released."-msgstr ""+msgstr "Cette pièce est activée lorsque l'avis de modification {activationLockId} est libéré."msgid "This part is being phased out."msgstr "Cette pièce est en cours de suppression."@@ -15516,7 +15516,7 @@ msgid "this supplier"msgstr "ce fournisseur"msgid "This tool is activated when change notice {activationLockId} is released."-msgstr ""+msgstr "Cet outil est activé lorsque l'avis de modification {activationLockId} est libéré."msgid "This updates the theme for all users of the application"msgstr "Cela met à jour le thème pour tous les utilisateurs de l'application"diff --git a/packages/locale/locales/hi/erp.po b/packages/locale/locales/hi/erp.poindex 00628747b4..797e38b0b8 100644--- a/packages/locale/locales/hi/erp.po+++ b/packages/locale/locales/hi/erp.po@@ -15464,7 +15464,7 @@ msgid "This part has {quantityOnHand} on hand at this location. No Stock means imsgstr "यह पार्ट इस स्थान पर {quantityOnHand} की मात्रा में उपलब्ध है। No Stock का अर्थ है कि इसकी न तो योजना बनाई जाएगी और न ही इसका उपयोग किया जाएगा।"msgid "This part is activated when change notice {activationLockId} is released."-msgstr ""+msgstr "यह पार्ट तब सक्रिय होता है जब परिवर्तन सूचना {activationLockId} जारी की जाती है।"msgid "This part is being phased out."msgstr "यह पार्ट चरणबद्ध तरीके से बंद किया जा रहा है।"@@ -15516,7 +15516,7 @@ msgid "this supplier"msgstr "यह आपूर्तिकर्ता"msgid "This tool is activated when change notice {activationLockId} is released."-msgstr ""+msgstr "यह उपकरण तब सक्रिय होता है जब परिवर्तन सूचना {activationLockId} जारी की जाती है।"msgid "This updates the theme for all users of the application"msgstr "यह एप्लिकेशन के सभी उपयोगकर्ताओं के लिए थीम को अपडेट करता है"diff --git a/packages/locale/locales/it/erp.po b/packages/locale/locales/it/erp.poindex 776a9acb67..161dfd5f00 100644--- a/packages/locale/locales/it/erp.po+++ b/packages/locale/locales/it/erp.po@@ -15464,7 +15464,7 @@ msgid "This part has {quantityOnHand} on hand at this location. No Stock means imsgstr "Questo pezzo ha {quantityOnHand} disponibile in questa ubicazione. No Stock significa che non sarà né pianificato né consumato."msgid "This part is activated when change notice {activationLockId} is released."-msgstr ""+msgstr "Questa parte viene attivata quando l'avviso di modifica {activationLockId} viene rilasciato."msgid "This part is being phased out."msgstr "Questa parte è in fase di eliminazione."@@ -15516,7 +15516,7 @@ msgid "this supplier"msgstr "questo fornitore"msgid "This tool is activated when change notice {activationLockId} is released."-msgstr ""+msgstr "Questo attrezzo viene attivato quando l'avviso di modifica {activationLockId} viene rilasciato."msgid "This updates the theme for all users of the application"msgstr "Questo aggiorna il tema per tutti gli utenti dell'applicazione"diff --git a/packages/locale/locales/ja/erp.po b/packages/locale/locales/ja/erp.poindex 8a57316f7a..6fd7805aa2 100644--- a/packages/locale/locales/ja/erp.po+++ b/packages/locale/locales/ja/erp.po@@ -15464,7 +15464,7 @@ msgid "This part has {quantityOnHand} on hand at this location. No Stock means imsgstr "このパーツはこの場所に{quantityOnHand}個あります。「在庫なし」は計画にも消費にも含まれないことを意味します。"msgid "This part is activated when change notice {activationLockId} is released."-msgstr ""+msgstr "この部品は、変更通知 {activationLockId} がリリースされると有効になります。"msgid "This part is being phased out."msgstr "このパーツは段階的に廃止されています。"@@ -15516,7 +15516,7 @@ msgid "this supplier"msgstr "このサプライヤー"msgid "This tool is activated when change notice {activationLockId} is released."-msgstr ""+msgstr "この工具は、変更通知 {activationLockId} がリリースされると有効になります。"msgid "This updates the theme for all users of the application"msgstr "これはアプリケーションのすべてのユーザーのテーマを更新します"diff --git a/packages/locale/locales/ko/erp.po b/packages/locale/locales/ko/erp.poindex 2d6c40f3c2..dfbf30e197 100644--- a/packages/locale/locales/ko/erp.po+++ b/packages/locale/locales/ko/erp.po@@ -15464,7 +15464,7 @@ msgid "This part has {quantityOnHand} on hand at this location. No Stock means imsgstr "이 품목은 이 위치에 {quantityOnHand}개가 보유되어 있습니다. 재고 없음으로 설정하면 계획 및 소비 대상에서 제외됩니다."msgid "This part is activated when change notice {activationLockId} is released."-msgstr ""+msgstr "이 품목은 변경 공지 {activationLockId}이(가) 릴리즈되면 활성화됩니다."msgid "This part is being phased out."msgstr "이 품목은 단계적으로 단종되는 중입니다."@@ -15516,7 +15516,7 @@ msgid "this supplier"msgstr "이 공급업체"msgid "This tool is activated when change notice {activationLockId} is released."-msgstr ""+msgstr "이 공구는 변경 공지 {activationLockId}이(가) 릴리즈되면 활성화됩니다."msgid "This updates the theme for all users of the application"msgstr "이 설정은 애플리케이션의 모든 사용자에 대한 테마를 업데이트합니다"diff --git a/packages/locale/locales/pl/erp.po b/packages/locale/locales/pl/erp.poindex eb584352b3..adadd077c3 100644--- a/packages/locale/locales/pl/erp.po+++ b/packages/locale/locales/pl/erp.po@@ -15464,7 +15464,7 @@ msgid "This part has {quantityOnHand} on hand at this location. No Stock means imsgstr "Ta część ma {quantityOnHand} na stanie w tej lokalizacji. Brak zapasów oznacza, że nie będzie ani planowana, ani zużywana."msgid "This part is activated when change notice {activationLockId} is released."-msgstr ""+msgstr "Ta część zostanie aktywowana po wydaniu zgłoszenia zmian {activationLockId}."msgid "This part is being phased out."msgstr "Ta część jest wycofywana."@@ -15516,7 +15516,7 @@ msgid "this supplier"msgstr "ten dostawca"msgid "This tool is activated when change notice {activationLockId} is released."-msgstr ""+msgstr "To narzędzie zostanie aktywowane po wydaniu zgłoszenia zmian {activationLockId}."msgid "This updates the theme for all users of the application"msgstr "To aktualizuje motyw dla wszystkich użytkowników aplikacji"diff --git a/packages/locale/locales/pt/erp.po b/packages/locale/locales/pt/erp.poindex 2b4df615a0..dbbc57ca21 100644--- a/packages/locale/locales/pt/erp.po+++ b/packages/locale/locales/pt/erp.po@@ -15464,7 +15464,7 @@ msgid "This part has {quantityOnHand} on hand at this location. No Stock means imsgstr "Esta peça tem {quantityOnHand} em mãos nesta localização. Sem Estoque significa que não será planejada nem consumida."msgid "This part is activated when change notice {activationLockId} is released."-msgstr ""+msgstr "Esta peça é ativada quando o aviso de mudança {activationLockId} é liberado."msgid "This part is being phased out."msgstr "Esta peça está sendo descontinuada."@@ -15516,7 +15516,7 @@ msgid "this supplier"msgstr "este fornecedor"msgid "This tool is activated when change notice {activationLockId} is released."-msgstr ""+msgstr "Esta ferramenta é ativada quando o aviso de mudança {activationLockId} é liberado."msgid "This updates the theme for all users of the application"msgstr "Isto atualiza o tema para todos os utilizadores da aplicação"diff --git a/packages/locale/locales/ru/erp.po b/packages/locale/locales/ru/erp.poindex d5dc72b17d..fdd1c72e5c 100644--- a/packages/locale/locales/ru/erp.po+++ b/packages/locale/locales/ru/erp.po@@ -15464,7 +15464,7 @@ msgid "This part has {quantityOnHand} on hand at this location. No Stock means imsgstr "Эта деталь имеет {quantityOnHand} на складе в этом месте. Режим \"No Stock\" означает, что она не будет ни планироваться, ни использоваться."msgid "This part is activated when change notice {activationLockId} is released."-msgstr ""+msgstr "Эта деталь будет активирована после выпуска уведомления об изменении {activationLockId}."msgid "This part is being phased out."msgstr "Эта деталь снимается с производства."@@ -15516,7 +15516,7 @@ msgid "this supplier"msgstr "этот поставщик"msgid "This tool is activated when change notice {activationLockId} is released."-msgstr ""+msgstr "Этот инструмент будет активирован после выпуска уведомления об изменении {activationLockId}."msgid "This updates the theme for all users of the application"msgstr "Это обновляет тему для всех пользователей приложения"diff --git a/packages/locale/locales/tr/erp.po b/packages/locale/locales/tr/erp.poindex db8f70b5ce..ff93d74595 100644--- a/packages/locale/locales/tr/erp.po+++ b/packages/locale/locales/tr/erp.po@@ -15464,7 +15464,7 @@ msgid "This part has {quantityOnHand} on hand at this location. No Stock means imsgstr "Bu parça bu konumda {quantityOnHand} adet stokta bulunmaktadır. Stok Yok, bunun ne planlanacağı ne de tüketileceği anlamına gelir."msgid "This part is activated when change notice {activationLockId} is released."-msgstr ""+msgstr "Bu parça, {activationLockId} değişiklik bildirisi yayınlandığında etkinleştirilir."msgid "This part is being phased out."msgstr "Bu parça aşamalı olarak kullanımdan kaldırılıyor."@@ -15516,7 +15516,7 @@ msgid "this supplier"msgstr "bu tedarikçi"msgid "This tool is activated when change notice {activationLockId} is released."-msgstr ""+msgstr "Bu alet, {activationLockId} değişiklik bildirisi yayınlandığında etkinleştirilir."msgid "This updates the theme for all users of the application"msgstr "Bu, uygulamanın tüm kullanıcıları için temayı günceller"diff --git a/packages/locale/locales/zh/erp.po b/packages/locale/locales/zh/erp.poindex c613a29ab3..dc889a9302 100644--- a/packages/locale/locales/zh/erp.po+++ b/packages/locale/locales/zh/erp.po@@ -15464,7 +15464,7 @@ msgid "This part has {quantityOnHand} on hand at this location. No Stock means imsgstr "此零件在此位置有 {quantityOnHand} 件现货。\"无库存\"意味着它既不会被计划也不会被消耗。"msgid "This part is activated when change notice {activationLockId} is released."-msgstr ""+msgstr "此零件将在更改单 {activationLockId} 发布后激活。"msgid "This part is being phased out."msgstr "这个零件正在逐步淘汰。"@@ -15516,7 +15516,7 @@ msgid "this supplier"msgstr "此供应商"msgid "This tool is activated when change notice {activationLockId} is released."-msgstr ""+msgstr "此工具将在更改单 {activationLockId} 发布后激活。"msgid "This updates the theme for all users of the application"msgstr "这会更新应用程序所有用户的主题"