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): add item attributes to BOM CSV export and make parts CSV export importable (#1560)
Naveen Kashyap04a62e1500c9
diff --git a/apps/erp/app/components/Table/components/Download.tsx b/apps/erp/app/components/Table/components/Download.tsxindex 3a1e2b2bf0..12b715e55a 100644--- a/apps/erp/app/components/Table/components/Download.tsx+++ b/apps/erp/app/components/Table/components/Download.tsx@@ -98,7 +98,13 @@ const Download = ({}return out;});- let csvData = json2csv(rows, { emptyFieldValue: "" });+ // preventCsvInjection strips formula-leading characters (=, +, -, @) from+ // non-numeric strings so exported cells can't execute in spreadsheet apps;+ // numbers and numeric strings pass through untouched.+ let csvData = json2csv(rows, {+ emptyFieldValue: "",+ preventCsvInjection: true+ });// Create a CSV file and allow the user to download itlet blob = new Blob([csvData], { type: "text/csv" });let url = window.URL.createObjectURL(blob);diff --git a/apps/erp/app/modules/items/items.service.ts b/apps/erp/app/modules/items/items.service.tsindex 479fc7f88f..6c8160eee0 100644--- a/apps/erp/app/modules/items/items.service.ts+++ b/apps/erp/app/modules/items/items.service.ts@@ -87,7 +87,7 @@ import {import type { InventoryItemType } from "./types";const PARTS_LIST_COLUMNS =- "active,defaultMethodType,description,itemTrackingType,name,replenishmentSystem,revision,readableIdWithRevision,id,companyId,thumbnailPath,supplierIds,revisions,customFields,tags,itemPostingGroupId,createdBy,createdAt,updatedBy,updatedAt,supersessionMode,mpn,suppliers" as const;+ "active,defaultMethodType,description,itemTrackingType,name,replenishmentSystem,unitOfMeasureCode,revision,readableId,readableIdWithRevision,id,companyId,thumbnailPath,supplierIds,revisions,customFields,tags,itemPostingGroupId,createdBy,createdAt,updatedBy,updatedAt,supersessionMode,mpn,suppliers" as const;const MATERIALS_LIST_COLUMNS ="active,defaultMethodType,description,itemTrackingType,name,unitOfMeasureCode,revision,readableId,readableIdWithRevision,id,companyId,thumbnailPath,supplierIds,unitOfMeasure,revisions,materialForm,materialSubstance,dimensions,finish,grade,materialType,materialSubstanceId,materialFormId,customFields,tags,itemPostingGroupId,createdBy,createdAt,updatedBy,updatedAt,supersessionMode,mpn,suppliers" as const;@@ -1702,6 +1702,67 @@ function getMethodTreeArrayToTree(items: Method[]): MethodTreeItem[] {return rootItems.map((item) => traverseAndRenameIds(item));}+export type BomItemAttributes = {+ readableId: string;+ revision: string;+ itemTrackingType: Database["public"]["Enums"]["itemTrackingType"];+ replenishmentSystem: Database["public"]["Enums"]["itemReplenishmentSystem"];+ itemPostingGroup: string | null;+ lotSize: number | null;+ leadTime: number | null;+};++export async function getBomItemAttributes(+ client: SupabaseClient<Database>,+ companyId: string,+ itemIds: string[]+) {+ const [items, costs, replenishments] = await Promise.all([+ client+ .from("item")+ .select("id, readableId, revision, itemTrackingType, replenishmentSystem")+ .in("id", itemIds)+ .eq("companyId", companyId),+ client+ .from("itemCost")+ .select("itemId, ...itemPostingGroup(itemPostingGroup:name)")+ .in("itemId", itemIds)+ .eq("companyId", companyId),+ client+ .from("itemReplenishment")+ .select("itemId, lotSize, leadTime")+ .in("itemId", itemIds)+ .eq("companyId", companyId)+ ]);++ const error = items.error ?? costs.error ?? replenishments.error;+ if (error) return { data: null, error };++ const postingGroupByItemId = new Map(+ (costs.data ?? []).map((c) => [c.itemId, c.itemPostingGroup])+ );+ const replenishmentByItemId = new Map(+ (replenishments.data ?? []).map((r) => [r.itemId, r])+ );++ const data = new Map<string, BomItemAttributes>(+ (items.data ?? []).map((item) => [+ item.id,+ {+ readableId: item.readableId,+ revision: item.revision ?? "",+ itemTrackingType: item.itemTrackingType,+ replenishmentSystem: item.replenishmentSystem,+ itemPostingGroup: postingGroupByItemId.get(item.id) ?? null,+ lotSize: replenishmentByItemId.get(item.id)?.lotSize ?? null,+ leadTime: replenishmentByItemId.get(item.id)?.leadTime ?? null+ }+ ])+ );++ return { data, error: null };+}+export async function getOpenJobMaterials(client: SupabaseClient<Database>,{diff --git a/apps/erp/app/modules/items/ui/Parts/PartsTable.tsx b/apps/erp/app/modules/items/ui/Parts/PartsTable.tsxindex 67546889ff..e44fb12c14 100644--- a/apps/erp/app/modules/items/ui/Parts/PartsTable.tsx+++ b/apps/erp/app/modules/items/ui/Parts/PartsTable.tsx@@ -145,16 +145,29 @@ const PartsTable = memo(({ data, tags, count }: PartsTableProps) => {),meta: {icon: <LuBookMarked />,- // The accessor is the raw item id — export the readable id- // the cell shows instead of a UUID.- exportValue: (row) => row.readableIdWithRevision ?? null+ // The accessor is the raw item id — export the bare part number+ // (no revision suffix; the Revision column carries that) so the+ // CSV round-trips through the import wizard.+ exportValue: (row) => row.readableId ?? null}},+ // Export-only columns matching the CSV import field labels exactly, so+ // a downloaded CSV auto-maps in the import wizard.+ exportOnlyColumn<PartListItem>({+ id: "revision",+ header: t`Revision`,+ value: (row) => row.revision ?? "0"+ }),exportOnlyColumn<PartListItem>({id: "itemName",header: t`Item Name`,value: (row) => row.name ?? null}),+ exportOnlyColumn<PartListItem>({+ id: "unitOfMeasure",+ header: t`Unit of Measure`,+ value: (row) => row.unitOfMeasureCode ?? null+ }),{accessorKey: "description",header: t`Description`,@@ -186,7 +199,11 @@ const PartsTable = memo(({ data, tags, count }: PartsTableProps) => {label: <Badge variant="secondary">{group.label}</Badge>}))},- icon: <LuGroup />+ icon: <LuGroup />,+ exportValue: (row) =>+ itemPostingGroups.find(+ (group) => group.value === row.itemPostingGroupId+ )?.label ?? null}},@@ -306,7 +323,8 @@ const PartsTable = memo(({ data, tags, count }: PartsTableProps) => {})),isArray: true},- icon: <LuTag />+ icon: <LuTag />,+ exportValue: (row) => (row.tags?.length ? row.tags.join(", ") : null)}},{diff --git a/apps/erp/app/routes/api+/items.methods.$id.bom[.]csv.tsx b/apps/erp/app/routes/api+/items.methods.$id.bom[.]csv.tsxindex 06c2dcb6dd..3cf684bf3f 100644--- a/apps/erp/app/routes/api+/items.methods.$id.bom[.]csv.tsx+++ b/apps/erp/app/routes/api+/items.methods.$id.bom[.]csv.tsx@@ -4,20 +4,22 @@ import { pluckUnique } from "@carbon/utils";import type { LoaderFunctionArgs } from "react-router";import type { FlatTreeItem } from "~/components/TreeView";import { flattenTree } from "~/components/TreeView";-import type { Method } from "~/modules/items";-import { getMethodTree } from "~/modules/items";+import type { BomItemAttributes, Method } from "~/modules/items";+import { getBomItemAttributes, getMethodTree } from "~/modules/items";import type { BomOperation, WorkCenterRate } from "~/utils/bom";import {calculateMadePartCosts,calculateTotalQuantity,generateBomIds,- resolveOperationRates+ resolveOperationRates,+ stripCsvFormulaPrefix} from "~/utils/bom";import { makeDurations } from "~/utils/duration";const bomHeaders = ["ID","Item ID",+ "Revision","Description","Quantity","Total",@@ -26,6 +28,11 @@ const bomHeaders = ["UOM","Method Type","Item Type",+ "Tracking Type",+ "Replenishment",+ "Item Group",+ "Batch Size",+ "Lead Time","Level","Version"];@@ -88,7 +95,7 @@ export async function loader({ request, params }: LoaderFunctionArgs) {const itemIds = pluckUnique(methods, (m) => m.data.itemId);- const [methodOperations, workCentersResult, lotSizesResult] =+ const [methodOperations, workCentersResult, itemAttributesResult] =await Promise.all([client.from("methodOperation")@@ -101,14 +108,14 @@ export async function loader({ request, params }: LoaderFunctionArgs) {.from("workCenters").select("id, active, laborRate, machineRate, overheadRate, processes").eq("companyId", companyId),- client- .from("itemReplenishment")- .select("itemId, lotSize")- .in("itemId", itemIds)+ getBomItemAttributes(client, companyId, itemIds)]);+ const itemAttributes =+ itemAttributesResult.data ?? new Map<string, BomItemAttributes>();+const lotSizesByItemId = new Map(- (lotSizesResult.data ?? []).map((r) => [r.itemId, r.lotSize ?? 1])+ [...itemAttributes].map(([itemId, attrs]) => [itemId, attrs.lotSize ?? 1]));const workCenters: WorkCenterRate[] = (workCentersResult.data ?? []).map(@@ -192,15 +199,23 @@ export async function loader({ request, params }: LoaderFunctionArgs) {const unitCost = computedCosts.get(node.id) ?? node.data.unitCost ?? 0;const totalCost = total * unitCost;+ const attrs = itemAttributes.get(node.data.itemId);+ const revision = attrs?.revision || "0";+ const itemGroup = stripCsvFormulaPrefix(+ attrs?.itemPostingGroup ?? ""+ ).replace(/"/g, '""');+csv += `${bomIds[index]},${- node.data.itemReadableId- },"${node.data.description?.replace(/"/g, '""')}",${+ attrs?.readableId ?? node.data.itemReadableId+ },${revision},"${node.data.description?.replace(/"/g, '""')}",${node.data.quantity},${total},${unitCost},${totalCost},${node.data.unitOfMeasureCode- },${node.data.methodType},${node.data.itemType},${node.level},${- node.data.version || ""- }\n`;+ },${node.data.methodType},${node.data.itemType},${+ attrs?.itemTrackingType ?? ""+ },${attrs?.replenishmentSystem ?? ""},"${itemGroup}",${+ attrs?.lotSize ?? ""+ },${attrs?.leadTime ?? ""},${node.level},${node.data.version || ""}\n`;if (withOperations) {const operations =diff --git a/apps/erp/app/routes/api+/mcp+/lib/tool-metadata.json b/apps/erp/app/routes/api+/mcp+/lib/tool-metadata.jsonindex 475884429e..b69d183a57 100644--- a/apps/erp/app/routes/api+/mcp+/lib/tool-metadata.json+++ b/apps/erp/app/routes/api+/mcp+/lib/tool-metadata.json@@ -1,6 +1,6 @@{- "generated": "2026-09-07T03:17:28.892Z",- "totalTools": 1495,+ "generated": "2026-09-07T12:30:34.123Z",+ "totalTools": 1496,"modules": 15,"tools": [{@@ -13910,6 +13910,35 @@]}},+ {+ "name": "items_getBomItemAttributes",+ "module": "items",+ "classification": "READ",+ "description": "get bom item attributes",+ "paramCount": 1,+ "serviceParams": [+ "client",+ "companyId",+ "itemIds"+ ],+ "injectAuth": [+ "companyId"+ ],+ "schema": {+ "type": "object",+ "properties": {+ "itemIds": {+ "type": "array",+ "items": {+ "type": "string"+ }+ }+ },+ "required": [+ "itemIds"+ ]+ }+ },{"name": "items_getOpenJobMaterials","module": "items",diff --git a/apps/erp/app/routes/api+/production.methods.$id.bom[.]csv.tsx b/apps/erp/app/routes/api+/production.methods.$id.bom[.]csv.tsxindex 2f82d19e63..45e94205e0 100644--- a/apps/erp/app/routes/api+/production.methods.$id.bom[.]csv.tsx+++ b/apps/erp/app/routes/api+/production.methods.$id.bom[.]csv.tsx@@ -1,19 +1,23 @@import { requirePermissions } from "@carbon/auth/auth.server";import type { LoaderFunctionArgs } from "react-router";import { flattenTree } from "~/components/TreeView";+import type { BomItemAttributes } from "~/modules/items";+import { getBomItemAttributes } from "~/modules/items";import type { JobOperation } from "~/modules/production";import { getJobMethodTree } from "~/modules/production";import type { BomOperation } from "~/utils/bom";import {calculateMadePartCosts,calculateTotalQuantity,- generateBomIds+ generateBomIds,+ stripCsvFormulaPrefix} from "~/utils/bom";import { makeDurations } from "~/utils/duration";const bomHeaders = ["ID","Item ID",+ "Revision","Description","Quantity","Total",@@ -22,6 +26,11 @@ const bomHeaders = ["UOM","Method Type","Item Type",+ "Tracking Type",+ "Replenishment",+ "Item Group",+ "Batch Size",+ "Lead Time","Level","Version"];@@ -83,22 +92,30 @@ export async function loader({ request, params }: LoaderFunctionArgs) {...new Set(methods.map((method) => method.data.jobMakeMethodId))];+ const itemIds = [...new Set(methods.map((method) => method.data.itemId))];+// Get the job quantity for batch size calculationconst rootNode = methods[0];const jobId = rootNode?.data.jobId;- const [methodOperations, jobResult] = await Promise.all([- client- .from("jobOperation")- .select(- "*, ...process(processName:name), ...workCenter(workCenterName:name), ...jobMakeMethod(parentMaterialId, item(readableIdWithRevision))"- )- .in("jobMakeMethodId", makeMethodIds)- .eq("companyId", companyId),- jobId- ? client.from("job").select("quantity").eq("id", jobId).single()- : null- ]);+ const [methodOperations, jobResult, itemAttributesResult] = await Promise.all(+ [+ client+ .from("jobOperation")+ .select(+ "*, ...process(processName:name), ...workCenter(workCenterName:name), ...jobMakeMethod(parentMaterialId, item(readableIdWithRevision))"+ )+ .in("jobMakeMethodId", makeMethodIds)+ .eq("companyId", companyId),+ jobId+ ? client.from("job").select("quantity").eq("id", jobId).single()+ : null,+ getBomItemAttributes(client, companyId, itemIds)+ ]+ );++ const itemAttributes =+ itemAttributesResult.data ?? new Map<string, BomItemAttributes>();const batchSizesByItemId = new Map<string, number>();if (rootNode && jobResult?.data?.quantity) {@@ -173,12 +190,22 @@ export async function loader({ request, params }: LoaderFunctionArgs) {const unitCost = computedCosts.get(node.id) ?? node.data.unitCost ?? 0;const totalCost = total * unitCost;+ const attrs = itemAttributes.get(node.data.itemId);+ const revision = attrs?.revision || "0";+ const itemGroup = stripCsvFormulaPrefix(+ attrs?.itemPostingGroup ?? ""+ ).replace(/"/g, '""');+csv += `${bomIds[index]},${- node.data.itemReadableId- },"${node.data.description?.replace(/"/g, '""')}",${+ attrs?.readableId ?? node.data.itemReadableId+ },${revision},"${node.data.description?.replace(/"/g, '""')}",${node.data.quantity},${total},${unitCost},${totalCost},,${node.data.methodType},${node.data.itemType+ },${attrs?.itemTrackingType ?? ""},${+ attrs?.replenishmentSystem ?? ""+ },"${itemGroup}",${attrs?.lotSize ?? ""},${+ attrs?.leadTime ?? ""},${node.level},${node.data.version || ""}\n`;if (withOperations) {diff --git a/apps/erp/app/routes/api+/sales.quote.line.$id.bom[.]csv.tsx b/apps/erp/app/routes/api+/sales.quote.line.$id.bom[.]csv.tsxindex 998aaff517..490b3843fa 100644--- a/apps/erp/app/routes/api+/sales.quote.line.$id.bom[.]csv.tsx+++ b/apps/erp/app/routes/api+/sales.quote.line.$id.bom[.]csv.tsx@@ -2,18 +2,22 @@ import { requirePermissions } from "@carbon/auth/auth.server";import type { Database } from "@carbon/database";import type { LoaderFunctionArgs } from "react-router";import { flattenTree } from "~/components/TreeView";+import type { BomItemAttributes } from "~/modules/items";+import { getBomItemAttributes } from "~/modules/items";import { getQuoteMethodTrees } from "~/modules/sales";import type { BomOperation } from "~/utils/bom";import {calculateMadePartCosts,calculateTotalQuantity,- generateBomIds+ generateBomIds,+ stripCsvFormulaPrefix} from "~/utils/bom";import { makeDurations } from "~/utils/duration";const bomHeaders = ["ID","Item ID",+ "Revision","Description","Quantity","Total",@@ -21,6 +25,11 @@ const bomHeaders = ["Total Cost","Method Type","Item Type",+ "Tracking Type",+ "Replenishment",+ "Item Group",+ "Batch Size",+ "Lead Time","Level","Version"];@@ -91,13 +100,23 @@ export async function loader({ request, params }: LoaderFunctionArgs) {...new Set(flattenedMethods.map((method) => method.data.quoteMakeMethodId))];- const quoteOperations = await client- .from("quoteOperation")- .select(- "*, ...process(processName:name), ...workCenter(workCenterName:name)"- )- .in("quoteMakeMethodId", makeMethodIds)- .eq("companyId", companyId);+ const itemIds = [+ ...new Set(flattenedMethods.map((method) => method.data.itemId))+ ];++ const [quoteOperations, itemAttributesResult] = await Promise.all([+ client+ .from("quoteOperation")+ .select(+ "*, ...process(processName:name), ...workCenter(workCenterName:name)"+ )+ .in("quoteMakeMethodId", makeMethodIds)+ .eq("companyId", companyId),+ getBomItemAttributes(client, companyId, itemIds)+ ]);++ const itemAttributes =+ itemAttributesResult.data ?? new Map<string, BomItemAttributes>();let operationsByMakeMethodId: Record<string,@@ -178,12 +197,22 @@ export async function loader({ request, params }: LoaderFunctionArgs) {const unitCost = computedCosts.get(node.id) ?? node.data.unitCost ?? 0;const totalCost = total * unitCost;+ const attrs = itemAttributes.get(node.data.itemId);+ const revision = attrs?.revision || "0";+ const itemGroup = stripCsvFormulaPrefix(+ attrs?.itemPostingGroup ?? ""+ ).replace(/"/g, '""');+csv += `${bomIds[index]},${- node.data.itemReadableId- },"${node.data.description?.replace(/"/g, '""')}",${+ attrs?.readableId ?? node.data.itemReadableId+ },${revision},"${node.data.description?.replace(/"/g, '""')}",${node.data.quantity},${total},${unitCost},${totalCost},${node.data.methodType},${node.data.itemType+ },${attrs?.itemTrackingType ?? ""},${+ attrs?.replenishmentSystem ?? ""+ },"${itemGroup}",${attrs?.lotSize ?? ""},${+ attrs?.leadTime ?? ""},${node.level},${node.data.version || ""}\n`;if (withOperations) {diff --git a/apps/erp/app/utils/bom.test.ts b/apps/erp/app/utils/bom.test.tsnew file mode 100644index 0000000000..6cc9e53856--- /dev/null+++ b/apps/erp/app/utils/bom.test.ts@@ -0,0 +1,28 @@+import { describe, expect, it } from "vitest";+import { stripCsvFormulaPrefix } from "./bom";++describe("stripCsvFormulaPrefix", () => {+ it("strips formula-leading characters from non-numeric strings", () => {+ expect(stripCsvFormulaPrefix('=cmd|" /C calc"!A0')).toBe(+ 'cmd|" /C calc"!A0'+ );+ expect(stripCsvFormulaPrefix("+SUM(A1:A2)")).toBe("SUM(A1:A2)");+ expect(stripCsvFormulaPrefix("-HYPERLINK(...)")).toBe("HYPERLINK(...)");+ expect(stripCsvFormulaPrefix("@evil")).toBe("evil");+ });++ it("strips prefixes hidden behind leading whitespace", () => {+ expect(stripCsvFormulaPrefix(" =1+1")).toBe("1+1");+ expect(stripCsvFormulaPrefix("\t@evil")).toBe("evil");+ });++ it("leaves numeric strings and negative numbers untouched", () => {+ expect(stripCsvFormulaPrefix("-5.5")).toBe("-5.5");+ expect(stripCsvFormulaPrefix("100")).toBe("100");+ });++ it("leaves ordinary values untouched", () => {+ expect(stripCsvFormulaPrefix("Raw Materials")).toBe("Raw Materials");+ expect(stripCsvFormulaPrefix("")).toBe("");+ });+});diff --git a/apps/erp/app/utils/bom.ts b/apps/erp/app/utils/bom.tsindex a178a20bc0..2efb41fb3a 100644--- a/apps/erp/app/utils/bom.ts+++ b/apps/erp/app/utils/bom.ts@@ -12,6 +12,16 @@ export interface WorkCenterRate {processes: string[] | null;}+// Mirrors json-2-csv's preventCsvInjection rule: strip formula-leading+// characters (=, +, -, @, tab, CR — optionally behind leading whitespace) from+// non-numeric strings so a hand-built CSV cell can't execute in a spreadsheet.+export function stripCsvFormulaPrefix(value: string): string {+ if (value === "" || !Number.isNaN(Number(value))) {+ return value;+ }+ return value.replace(/^[ \t\r]*[=+\-@\t\r]+/g, "");+}+export function resolveOperationRates(workCenterId: string | null,processId: string,diff --git a/apps/erp/package.json b/apps/erp/package.jsonindex 413f17c81e..b6fb5371be 100644--- a/apps/erp/package.json+++ b/apps/erp/package.json@@ -83,7 +83,7 @@"inngest": "^3.52.7","intl-parse-accept-language": "catalog:","isbot": "catalog:",- "json-2-csv": "5.5.10",+ "json-2-csv": "5.6.0","konva": "^9.3.22","kysely": "catalog:","localforage": "1.10.0",diff --git a/packages/locale/locales/de/erp.po b/packages/locale/locales/de/erp.poindex 949dddfc78..4dc74d5a98 100644--- a/packages/locale/locales/de/erp.po+++ b/packages/locale/locales/de/erp.po@@ -16534,6 +16534,7 @@ msgid "These journal entries are still Draft, so their debits and credits aren'tmsgstr "Diese Buchungssätze sind noch Entwurf, sodass ihre Sollposten und Habenposten nicht im Sachkonto für diesen Zeitraum enthalten sind. Buchen Sie jeden einzelnen oder ändern Sie das Datum zu einem späteren offenen Zeitraum."msgid "These rows link to data outside this company, so a safety copy of your current data can't be made. Deleting them cannot be undone. If they turn out to be shared with other companies in this group, nothing is deleted and the restore doesn't start."+msgstr "Diese Zeilen sind mit Daten außerhalb dieses Unternehmens verknüpft, daher kann keine Sicherungskopie Ihrer aktuellen Daten erstellt werden. Das Löschen dieser Zeilen kann nicht rückgängig gemacht werden. Sollten sich diese Zeilen als für andere Unternehmen in dieser Gruppe freigegeben herausstellen, wird nichts gelöscht und die Wiederherstellung wird nicht gestartet."msgstr "Diese Zeilen verlinken auf Daten außerhalb dieses Unternehmens. Daher kann keine Sicherheitskopie Ihrer aktuellen Daten erstellt werden. Das Löschen kann nicht rückgängig gemacht werden. Sollten diese sich als gemeinsam mit anderen Unternehmen in dieser Gruppe herausstellen, wird nichts gelöscht und die Wiederherstellung wird nicht gestartet."msgid "These rows link to data outside this company, so they could never be restored. Everything else was backed up."diff --git a/packages/locale/locales/es/erp.po b/packages/locale/locales/es/erp.poindex 63fd3866b6..b1de433d9d 100644--- a/packages/locale/locales/es/erp.po+++ b/packages/locale/locales/es/erp.po@@ -16534,6 +16534,7 @@ msgid "These journal entries are still Draft, so their debits and credits aren'tmsgstr "Estos asientos aún están en Borrador, por lo que sus debe y haber no están en el libro mayor para este período. Contabiliza cada uno, o cambia su fecha a un período abierto posterior."msgid "These rows link to data outside this company, so a safety copy of your current data can't be made. Deleting them cannot be undone. If they turn out to be shared with other companies in this group, nothing is deleted and the restore doesn't start."+msgstr "Estas filas están vinculadas a datos fuera de esta empresa, por lo que no se puede hacer una copia de seguridad de sus datos actuales. Su eliminación no se puede deshacer. Si resulta que están compartidas con otras empresas en este grupo, nada se elimina y la restauración no comienza."msgstr "Estas filas contienen referencias a datos fuera de esta empresa, por lo que no se puede crear una copia de seguridad de los datos actuales. La eliminación de estas filas no se puede deshacer. Si se encuentran compartidas con otras empresas del grupo, nada se eliminará y la restauración no se iniciará."msgid "These rows link to data outside this company, so they could never be restored. Everything else was backed up."diff --git a/packages/locale/locales/fr/erp.po b/packages/locale/locales/fr/erp.poindex d3cf285acc..dbe3b61cf7 100644--- a/packages/locale/locales/fr/erp.po+++ b/packages/locale/locales/fr/erp.po@@ -16534,6 +16534,7 @@ msgid "These journal entries are still Draft, so their debits and credits aren'tmsgstr "Ces écritures de journal sont encore Brouillon, de sorte que leurs débits et crédits ne se trouvent pas dans le grand livre pour cette période. Comptabilisez chacune ou redatez-la à une période ouverte ultérieure."msgid "These rows link to data outside this company, so a safety copy of your current data can't be made. Deleting them cannot be undone. If they turn out to be shared with other companies in this group, nothing is deleted and the restore doesn't start."+msgstr "Ces lignes renvoient à des données en dehors de cette Société, c'est pourquoi une copie de sécurité de vos données actuelles ne peut pas être créée. Leur suppression ne peut pas être annulée. Si ces lignes s'avèrent être partagées avec d'autres Sociétés de ce groupe, rien n'est supprimé et la restauration ne démarre pas."msgstr "Ces lignes sont liées à des données en dehors de cette Société, c'est pourquoi une copie de sécurité de vos données actuelles ne peut pas être créée. La suppression de ces lignes ne peut pas être annulée. S'il s'avère qu'elles sont partagées avec d'autres Sociétés de ce groupe, rien n'est supprimé et la restauration ne démarre pas."msgid "These rows link to data outside this company, so they could never be restored. Everything else was backed up."diff --git a/packages/locale/locales/hi/erp.po b/packages/locale/locales/hi/erp.poindex 89a4f57f07..e093193a9c 100644--- a/packages/locale/locales/hi/erp.po+++ b/packages/locale/locales/hi/erp.po@@ -16534,6 +16534,7 @@ msgid "These journal entries are still Draft, so their debits and credits aren'tmsgstr "ये जर्नल प्रविष्टियां अभी भी ड्राफ्ट हैं, इसलिए उनके नामे और जमा इस अवधि के लिए खाता बही में नहीं हैं। प्रत्येक को पोस्ट करें, या इसे बाद की खुली अवधि में फिर से दिनांकित करें।"msgid "These rows link to data outside this company, so a safety copy of your current data can't be made. Deleting them cannot be undone. If they turn out to be shared with other companies in this group, nothing is deleted and the restore doesn't start."+msgstr "ये पंक्तियाँ इस कंपनी के बाहर के डेटा से जुड़ी हैं, इसलिए आपके वर्तमान डेटा की सुरक्षा प्रति नहीं बनाई जा सकती। इन्हें हटाना पूर्ववत नहीं किया जा सकता। यदि ये इस समूह की अन्य कंपनियों के साथ साझा की गई हैं, तो कुछ भी नहीं हटाया जाएगा और बहाली शुरू नहीं होगी।"msgstr "ये पंक्तियां इस कंपनी के बाहर के डेटा से जुड़ी हुई हैं, इसलिए आपके वर्तमान डेटा की सुरक्षा प्रति नहीं बनाई जा सकती। उन्हें हटाना पूर्ववत नहीं किया जा सकता। यदि वे इस समूह की अन्य कंपनियों के साथ साझा की जाती हैं, तो कुछ भी हटाया नहीं जाता है और पुनर्स्थापन शुरू नहीं होता है।"msgid "These rows link to data outside this company, so they could never be restored. Everything else was backed up."diff --git a/packages/locale/locales/it/erp.po b/packages/locale/locales/it/erp.poindex d80b075984..8100eb2849 100644--- a/packages/locale/locales/it/erp.po+++ b/packages/locale/locales/it/erp.po@@ -16534,6 +16534,7 @@ msgid "These journal entries are still Draft, so their debits and credits aren'tmsgstr "Queste voci di prima nota sono ancora Bozza, quindi i loro dare e avere non sono nel registro per questo periodo. Registra ognuno, o ri-datalo in un periodo aperto successivo."msgid "These rows link to data outside this company, so a safety copy of your current data can't be made. Deleting them cannot be undone. If they turn out to be shared with other companies in this group, nothing is deleted and the restore doesn't start."+msgstr "Queste righe sono collegate a dati al di fuori di questa Azienda, quindi non è possibile creare una copia di sicurezza dei dati attuali. L'eliminazione non può essere annullata. Se risultassero condivise con altre Aziende in questo gruppo, nulla viene eliminato e il ripristino non si avvia."msgstr "Queste righe sono collegate a dati esterni a questa azienda, pertanto non è possibile effettuare una copia di sicurezza dei dati attuali. La loro eliminazione non può essere annullata. Se risultano condivise con altre aziende del gruppo, nulla viene eliminato e il ripristino non si avvierà."msgid "These rows link to data outside this company, so they could never be restored. Everything else was backed up."diff --git a/packages/locale/locales/ja/erp.po b/packages/locale/locales/ja/erp.poindex 429e750ea0..df6bf8efe7 100644--- a/packages/locale/locales/ja/erp.po+++ b/packages/locale/locales/ja/erp.po@@ -16534,6 +16534,7 @@ msgid "These journal entries are still Draft, so their debits and credits aren'tmsgstr "これらの仕訳はまだ下書きであるため、それらの借方と貸方は当期の元帳に含まれていません。各仕訳を転記するか、後の開いている期間に再度日付を付け直してください。"msgid "These rows link to data outside this company, so a safety copy of your current data can't be made. Deleting them cannot be undone. If they turn out to be shared with other companies in this group, nothing is deleted and the restore doesn't start."+msgstr "これらの行はこの会社外のデータにリンクしているため、現在のデータの安全なコピーを作成できません。これらを削除することは取り消せません。このグループ内の他の会社と共有されていることが判明した場合、何も削除されず、復元は開始されません。"msgstr "これらの行はこの会社外のデータにリンクしているため、現在のデータのバックアップを作成できません。削除を元に戻すことはできません。このグループ内の他の会社と共有されていることが判明した場合、何も削除されず、復元は開始されません。"msgid "These rows link to data outside this company, so they could never be restored. Everything else was backed up."diff --git a/packages/locale/locales/ko/erp.po b/packages/locale/locales/ko/erp.poindex 0710d056ee..62332ada03 100644--- a/packages/locale/locales/ko/erp.po+++ b/packages/locale/locales/ko/erp.po@@ -16534,6 +16534,7 @@ msgid "These journal entries are still Draft, so their debits and credits aren'tmsgstr "이 전표들은 아직 초안 상태이므로 이 기간에 차변 및 대변이 원장에 없습니다. 각 전표를 전기하거나 이후 미결 기간으로 다시 날짜를 지정하십시오."msgid "These rows link to data outside this company, so a safety copy of your current data can't be made. Deleting them cannot be undone. If they turn out to be shared with other companies in this group, nothing is deleted and the restore doesn't start."+msgstr "이 행들은 이 회사 외부의 데이터와 연결되어 있어 현재 데이터의 안전한 복사본을 만들 수 없습니다. 이들을 삭제하면 취소할 수 없습니다. 이들이 이 그룹의 다른 회사들과 공유되고 있는 것으로 판명되면 아무것도 삭제되지 않으며 복원도 시작되지 않습니다."msgstr "이 행들은 이 회사 외부의 데이터와 연결되어 있으므로 현재 데이터의 안전한 사본을 만들 수 없습니다. 이들을 삭제하면 되돌릴 수 없습니다. 이들이 이 그룹의 다른 회사와 공유되는 경우, 아무것도 삭제되지 않고 복원이 시작되지 않습니다."msgid "These rows link to data outside this company, so they could never be restored. Everything else was backed up."diff --git a/packages/locale/locales/pl/erp.po b/packages/locale/locales/pl/erp.poindex 30d12102a4..bb8ef60949 100644--- a/packages/locale/locales/pl/erp.po+++ b/packages/locale/locales/pl/erp.po@@ -16534,6 +16534,7 @@ msgid "These journal entries are still Draft, so their debits and credits aren'tmsgstr "Te dowody księgowe są wciąż w wersji roboczej, dlatego ich wpisy Winien i Ma nie znajdują się w księdze dla tego okresu. Zaksięguj każdy z nich lub przesyć go do późniejszego otwartego okresu."msgid "These rows link to data outside this company, so a safety copy of your current data can't be made. Deleting them cannot be undone. If they turn out to be shared with other companies in this group, nothing is deleted and the restore doesn't start."+msgstr "Te wiersze zawierają odniesienia do danych poza tą firmą, dlatego nie można utworzyć kopii zapasowej bieżących danych. Usunięcie ich nie może być cofnięte. Jeśli okaże się, że są udostępnione innym firmom w tej grupie, nic nie zostanie usunięte i przywracanie się nie uruchomi."msgstr "Te wiersze łączą się z danymi spoza tej firmy, dlatego nie można wykonać bezpiecznej kopii bieżących danych. Usunięcie ich nie może być cofnięte. Jeśli okaże się, że są współdzielone z innymi firmami w tej grupie, nic nie zostanie usunięte i przywracanie nie zostanie uruchomione."msgid "These rows link to data outside this company, so they could never be restored. Everything else was backed up."diff --git a/packages/locale/locales/pt/erp.po b/packages/locale/locales/pt/erp.poindex b0bdc63ed9..76d7ff63ac 100644--- a/packages/locale/locales/pt/erp.po+++ b/packages/locale/locales/pt/erp.po@@ -16534,6 +16534,7 @@ msgid "These journal entries are still Draft, so their debits and credits aren'tmsgstr "Estes lançamentos de diário ainda estão em Rascunho, portanto seus débitos e créditos não estão no livro-razão para este período. Lance cada um, ou redatē-o para um período aberto posterior."msgid "These rows link to data outside this company, so a safety copy of your current data can't be made. Deleting them cannot be undone. If they turn out to be shared with other companies in this group, nothing is deleted and the restore doesn't start."+msgstr "Esses registros estão vinculados a dados fora desta empresa, portanto um backup de seus dados atuais não pode ser criado. A exclusão deles não pode ser desfeita. Se eles forem compartilhados com outras empresas deste grupo, nenhum dado será excluído e a restauração não será iniciada."msgstr "Essas linhas estão vinculadas a dados fora desta empresa, portanto não é possível criar uma cópia de segurança dos seus dados atuais. A exclusão dessas linhas não pode ser desfeita. Se forem compartilhadas com outras empresas neste grupo, nada será excluído e a restauração não será iniciada."msgid "These rows link to data outside this company, so they could never be restored. Everything else was backed up."diff --git a/packages/locale/locales/ru/erp.po b/packages/locale/locales/ru/erp.poindex bba7941f38..709e3df057 100644--- a/packages/locale/locales/ru/erp.po+++ b/packages/locale/locales/ru/erp.po@@ -16534,6 +16534,7 @@ msgid "These journal entries are still Draft, so their debits and credits aren'tmsgstr "Эти операции по-прежнему находятся в режиме Черновик, поэтому их дебеты и кредиты не включены в главную книгу для этого периода. Проведите каждый из них или переведите его в более поздний открытый период."msgid "These rows link to data outside this company, so a safety copy of your current data can't be made. Deleting them cannot be undone. If they turn out to be shared with other companies in this group, nothing is deleted and the restore doesn't start."+msgstr "Эти строки связаны с данными вне этой организации, поэтому невозможно создать резервную копию текущих данных. Удаление этих строк нельзя отменить. Если они окажутся общими с другими организациями в этой группе, ничего не будет удалено и восстановление не начнется."msgstr "Эти строки связаны с данными вне этой организации, поэтому не удаётся создать резервную копию текущих данных. Удаление их не может быть отменено. Если окажется, что они используются другими организациями в этой группе, ничего не удаляется и восстановление не начинается."msgid "These rows link to data outside this company, so they could never be restored. Everything else was backed up."diff --git a/packages/locale/locales/tr/erp.po b/packages/locale/locales/tr/erp.poindex 4da396fb53..699e951045 100644--- a/packages/locale/locales/tr/erp.po+++ b/packages/locale/locales/tr/erp.po@@ -16534,6 +16534,7 @@ msgid "These journal entries are still Draft, so their debits and credits aren'tmsgstr "Bu muhasebe fişleri hala Taslak halinde olduğundan borç ve alacakları bu dönemin defterine girmedi. Her birini muhasebeleştir veya daha sonraki açık bir döneme yeniden tarihle."msgid "These rows link to data outside this company, so a safety copy of your current data can't be made. Deleting them cannot be undone. If they turn out to be shared with other companies in this group, nothing is deleted and the restore doesn't start."+msgstr "Bu kayıtlar bu Şirketin dışındaki verilere bağlı olduğundan, mevcut verilerinizin bir güvenlik kopyası oluşturulamaz. Bunları silmek geri alınamaz. Eğer bu Gruptaki diğer Şirketlerle paylaşıldığı ortaya çıkarsa, hiçbir şey silinmez ve geri yükleme işlemi başlamaz."msgstr "Bu satırlar bu Şirket dışındaki verilere bağlı olduğundan, mevcut verilerinizin bir güvenlik kopyası oluşturulamaz. Bu satırları silmek geri alınamaz. Bunların bu gruptaki diğer Şirketlerle paylaşıldığı anlaşılırsa, hiçbir şey silinmez ve geri yükleme başlamaz."msgid "These rows link to data outside this company, so they could never be restored. Everything else was backed up."diff --git a/packages/locale/locales/zh/erp.po b/packages/locale/locales/zh/erp.poindex 496ba7dca3..a61f85b7cc 100644--- a/packages/locale/locales/zh/erp.po+++ b/packages/locale/locales/zh/erp.po@@ -16534,6 +16534,7 @@ msgid "These journal entries are still Draft, so their debits and credits aren'tmsgstr "这些凭证仍是草稿,所以其借方和贷方不在此期间的账簿中。过账每一个,或将其重新标注日期到更后的未结期间。"msgid "These rows link to data outside this company, so a safety copy of your current data can't be made. Deleting them cannot be undone. If they turn out to be shared with other companies in this group, nothing is deleted and the restore doesn't start."+msgstr "这些行链接到本公司以外的数据,因此无法创建您当前数据的安全备份。删除这些行无法撤销。如果发现这些行与此组中的其他公司共享,则不会删除任何内容,且不会启动还原。"msgstr "这些行链接到此公司外的数据,因此无法创建当前数据的安全备份。删除它们无法撤销。如果这些行实际上与此集团中的其他公司共享,则不删除任何行,且不启动还原。"msgid "These rows link to data outside this company, so they could never be restored. Everything else was backed up."diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex b63c2f090a..e6eb3b4c52 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -835,8 +835,8 @@ importers:specifier: 'catalog:'version: 5.1.37json-2-csv:- specifier: 5.5.10- version: 5.5.10+ specifier: 5.6.0+ version: 5.6.0konva:specifier: ^9.3.22version: 9.3.22@@ -11594,8 +11594,8 @@ packages:babel-plugin-macros:optional: true- resolution: {integrity: sha512-e7oWH1LzIdv/prMQ7pmlDlaVoL64glqzvNgkgQNgyec9ORPHrT2jaOqMtRyqJuwWjtfb6v+2rk9pmaHj+F137A==}+ resolution: {integrity: sha512-D/o0k3pCG1aI1cxb/dDiWmtMc4Rh7ZQBybXpfMsw9Rbtqwg8kUA9SpYkWcw0pAUjZSnPm8MluctiS0o68r69jQ==}engines: {node: '>= 16'}@@ -11665,8 +11665,8 @@ packages:resolution: {integrity: sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA==}- resolution: {integrity: sha512-h1ErTglQAVv2gCnOpD3sFS6uolDbOKHDU1BZq+Kl3npPqroU3dYL42lUgMfd5UimlwtRgp7C9dLGwqQ5D2HYgQ==}+ resolution: {integrity: sha512-yw5D++UCIB6a033PvQaUvSpW2QuKW0+DOId763n0Q4z3brxS7G8oQr8yBQ1nQFkognKrAVrV6I55TLeU9cfXTg==}engines: {node: '>=16'}@@ -13071,10 +13071,9 @@ packages:engines: {node: '>=6'}hasBin: true- resolution: {integrity: sha512-Dep8wO3Fr5wNjQevO2Z8Y7yeee/nYSGRsi7q6zJDKEVHxXkXT+v21vxHmDX923UzmCXXkSo62HaTz6eTWzFLaw==}+ resolution: {integrity: sha512-EOEkcWooN2FYMZLV1TM7BrHJEfV6/7Eexh+xmr72FADjZGuFwAlfzPdkMx2YxIldHGWkTtoL1QJGknzhJCln/w==}engines: {node: '>= 16'}- deprecated: A security vulnerability has been reported with the preventCsvInjection option which has been fixed in version 5.5.11. Please upgrade as soon as possible.resolution: {integrity: sha512-SiPv/8VpZuWbvLSMtTDU8hEfrZWg/mH/nV/b4o0CYbSxu1UIQPLdwKOCIyLQX+VIPO5vrLX3i8qtqFyhdPSUSQ==}@@ -25737,7 +25736,7 @@ snapshots:optionalDependencies:babel-plugin-macros: 3.1.0- [email protected]: {}+ [email protected]: {}dependencies:@@ -25812,7 +25811,7 @@ snapshots:- [email protected]: {}+ [email protected]: {}@@ -27559,10 +27558,10 @@ snapshots:dependencies:- deeks: 3.1.0- doc-path: 4.1.1+ deeks: 3.2.1+ doc-path: 4.1.4dependencies: