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(sales): address CodeRabbit review on quote bulk import
sidgaikwad4f753a7ac9e1
diff --git a/.ai/specs/2026-07-28-quote-bulk-import.md b/.ai/specs/2026-07-28-quote-bulk-import.mdindex 07374db150..0abb295dc0 100644--- a/.ai/specs/2026-07-28-quote-bulk-import.md+++ b/.ai/specs/2026-07-28-quote-bulk-import.md@@ -203,11 +203,14 @@ a temporary import id). All rows sharing a Quote Group belong to one quote; thefirst `QUOTE` row is the header, subsequent `LINE` rows are its lines. The QuoteGroup value doubles as the **external id** for idempotency (see §7).-Quantity breaks: one `LINE` row = one item + one quantity + its price. Multiple-quantity breaks for the same item = multiple `LINE` rows with the same-item/description and different `quantity`/`unitPrice` (the handler groups them-into one `quoteLine` with a `quantity[]` array + N `quoteLinePrice` rows). This-matches how method import represents repeated child rows.+Quantity breaks: one `LINE` row = one `quoteLine` with a single quantity break+(`quantity[]` of length 1 + one `quoteLinePrice`). Phase 1 does **not** merge+multiple rows for the same part into a single multi-break line — each `LINE`+row is its own quote line. Within one quote, a repeated `(part number, quantity)`+row is treated as a duplicate and **skipped** (reported in `skipped[]`); rows are+compared on that key only, so a differing method type / UoM / status still+produces a separate line. (Multi-row → multi-break aggregation is a possible+Phase 2 refinement.)### 6.3 Proposed columns (`fieldMappings`)@@ -251,19 +254,34 @@ schemas); authoritative validation is in the handler.## 7. Idempotency-Reuse the shared `externalIntegrationMapping` table (`integration = "csv"`), the-same mechanism the customer/supplier/item imports use:-- The **Quote Group / externalId** column is the CSV external id for the quote.-- On import, build `externalId → quote.id` map (via `getCsvExternalIdMap`, or- `getQuoteByExternalId` on the `quote.externalId` JSONB column).-- Existing external id → **update** the header / append-or-update lines; else- **create**. Persist the mapping via `upsertCsvMappings`.-- Add `"quote"` to the edge fn's `CsvEntityType` union + `fetchLiveEntityIds`- switch if we want live-id reconciliation.--**Create-only vs update semantics** need a decision (Q3): safest Phase-1 default-is *create-only* — if a quote with that external id already exists, **skip** it-(report in `skipped[]`), matching the method import's "don't clobber" stance.+The **single canonical idempotency source is the shared+`externalIntegrationMapping` table** with `integration = "csv"`,+`entityType = "quote"` — the same mechanism the customer/supplier/item imports+use. The `quote.externalId` JSONB column and `getQuoteByExternalId` are **not**+used for import idempotency (avoids two lookup paths that could disagree).++- **Key:** a mapping row is `(companyId, integration = "csv",+ entityType = "quote", externalId)`, where `externalId` is the verbatim **Quote+ Group** cell (trimmed). Company-scoping is by `companyId`; there is no format+ constraint on the Quote Group value beyond non-empty.+- **Lookup:** at import start, the importer reads the mappings for exactly the+ Quote Group values present in the file (chunked `.in(...)`) into a set of+ already-imported external ids.+- **Create-only (Q3, resolved):** if a Quote Group is already in that set, the+ whole group is **skipped** (reported in `skipped[]`) — never updated —+ matching the method import's "don't clobber" stance.+- **Durability point:** the mapping row is inserted **immediately after the+ header quote is created**, before its lines. So the "already imported" marker+ means *"a quote was created for this group"*, not *"every line succeeded"*.++**Partial-failure limitation (Phase 1):** because the mapping is written right+after header creation, if some `LINE` rows then fail (reported per-row in+`errors[]`), a re-run **skips** the group rather than retrying the failed lines —+this is the deliberate trade to guarantee re-runs never create a *duplicate*+quote. Fixing failed lines is done by editing the quote (or deleting it and its+mapping, then re-importing). True header+lines atomicity / resumable partial+groups is deferred (it would require a transaction spanning the non-transactional+`insertQuote` service or a per-group status column).---@@ -392,17 +410,14 @@ the execution backend differs for quotes.- **Q2 — Architecture:** ✅ **Option B** — app-side `importQuotes`, reuse services.- **Q3 — Idempotency:** ✅ **Create-only skip** for Phase 1 (skip existing external ids).-**Still open (low-risk; recommended defaults apply unless changed):**-- **Q4 — Customer/item keys:** Accept **name or readableId** for customer, and- **part number (readableId)** for items? Any support for raw ids? *(Recommend- name-or-readableId, no raw ids.)*-- **Q5 — Grouping key:** Use a dedicated **Quote Group** column as external id, or- reuse `customerReference`? *(Recommend a dedicated column so `customerReference`- stays a real business field.)*-- **Q6 — Where does the import button live?** Quotes list table only, or also- Opportunities? *(Recommend Quotes table only for Phase 1.)*-- **Q7 — Pricing scope:** Confirm Phase 1 imports **explicit** prices only (no- `resolvePrice`/rollup). *(Recommend yes.)*+**Resolved 2026-07-28 (implemented):**+- **Q4 — Customer/item keys:** ✅ Customer by **name or readableId** (case-insensitive);+ item by **part number (readableId)**, exact match. No raw ids.+- **Q5 — Grouping key:** ✅ Dedicated **Quote Group** column as the external id;+ `customerReference` stays a real business field.+- **Q6 — Where does the import button live?** ✅ **Quotes table only** for Phase 1.+- **Q7 — Pricing scope:** ✅ **Explicit** quantity-break prices only — no+ `resolvePrice` / rollup during import.---diff --git a/apps/erp/app/modules/sales/sales.import.server.ts b/apps/erp/app/modules/sales/sales.import.server.tsindex 2ac14dac21..7af935d1db 100644--- a/apps/erp/app/modules/sales/sales.import.server.ts+++ b/apps/erp/app/modules/sales/sales.import.server.ts@@ -1,4 +1,5 @@import type { Database } from "@carbon/database";+import { fetchAllFromTable } from "@carbon/database";import type { SupabaseClient } from "@supabase/supabase-js";import Papa from "papaparse";import {@@ -94,6 +95,17 @@ type ImportQuotesResult = {// small helpers// ---------------------------------------------------------------------------+// PostgREST caps a single `.in(...)` list; chunk large id sets so a big file+// can't blow the request size limit.+const LOOKUP_CHUNK = 200;++function chunk<T>(items: T[], size: number): T[][] {+ const out: T[][] = [];+ for (let i = 0; i < items.length; i += size)+ out.push(items.slice(i, i + size));+ return out;+}+const text = (value: string | null | undefined): string => (value ?? "").trim();const num = (value: string | null | undefined): number | undefined => {@@ -124,15 +136,17 @@ function normalizeQuoteStatus(return QUOTE_STATUSES.find((s) => s.toLowerCase() === t);}-// discountPercent is stored as a fraction 0..1. Accept either a fraction or a-// whole percent (e.g. 10 → 0.10); reject anything above 100.+// discountPercent is stored as a fraction 0..1. To remove the ambiguity at 1+// (100% or 1%?), the format decides: a decimal-formatted value (contains ".") is+// a fraction and must be 0..1; a whole number is a percent and must be 0..100+// (e.g. "0.10" → 0.10, "10" → 0.10, "1" → 0.01). Reject out-of-range / negative.function normalizeDiscount(raw: string | undefined): number | "invalid" {- const n = num(raw);- if (n === undefined) return 0;- if (n < 0) return "invalid";- if (n <= 1) return n;- if (n <= 100) return n / 100;- return "invalid";+ const t = text(raw);+ if (!t) return 0;+ const n = num(t);+ if (n === undefined || n < 0) return "invalid";+ if (t.includes(".")) return n <= 1 ? n : "invalid";+ return n <= 100 ? n / 100 : "invalid";}type RowType = "QUOTE" | "LINE";@@ -200,7 +214,18 @@ export async function importQuotes(}// 3. batch-resolve references (customers, items, existing quotes) --------- const refs = await loadReferences(client, companyId, records, table);+ const { refs, error: refError } = await loadReferences(+ client,+ companyId,+ records,+ table+ );+ if (refError || !refs) {+ return {+ data: null,+ error: refError ?? { message: "Failed to load import references" }+ };+ }// 4. process by mode -----------------------------------------------------if (table === "quoteLine") {@@ -241,17 +266,20 @@ type ItemInfo = {type References = {customersByKey: Map<string, string>; // lowercased name|readableId → customer.idambiguousCustomers: Set<string>;- itemsByReadableId: Map<string, ItemInfo>;+ itemsByReadableId: Map<string, ItemInfo>; // exact readableId → itemquotesByNumber: Map<string, string>; // Quote Number → quote.idimportedExternalIds: Set<string>;};+// Resolves every reference the import needs up front. Any DB read failing is a+// hard error (returned, not swallowed) so a lookup failure never masquerades as+// a row-level "not found".async function loadReferences(client: SupabaseClient<Database>,companyId: string,records: Rec[],table: QuoteImportTable-): Promise<References> {+): Promise<{ refs: References | null; error: { message: string } | null }> {const refs: References = {customersByKey: new Map(),ambiguousCustomers: new Set(),@@ -260,44 +288,63 @@ async function loadReferences(importedExternalIds: new Set()};- // Customers — resolve by name or readableId (only needed for header rows).- const customerKeys = new Set<string>();- for (const r of records) {- const key = text(r.customerId).toLowerCase();- if (key) customerKeys.add(key);- }- if (customerKeys.size > 0 && table !== "quoteLine") {- const customers = await client- .from("customer")- .select("id, name, readableId")- .eq("companyId", companyId);- for (const c of customers.data ?? []) {- for (const raw of [c.name, c.readableId]) {- const k = text(raw ?? undefined).toLowerCase();- if (!k) continue;- if (refs.customersByKey.has(k) && refs.customersByKey.get(k) !== c.id) {- refs.ambiguousCustomers.add(k);- } else {- refs.customersByKey.set(k, c.id);+ // Customers — resolve by name or readableId (only for header rows). Name+ // matching is case-insensitive, so fetch all company customers (paged past the+ // 1000-row cap) and compare in memory.+ const hasCustomerKey = records.some((r) => text(r.customerId));+ if (hasCustomerKey && table !== "quoteLine") {+ try {+ const customers = await fetchAllFromTable<{+ id: string;+ name: string | null;+ readableId: string | null;+ }>(client, "customer", "id, name, readableId", (q) =>+ q.eq("companyId", companyId)+ );+ for (const c of customers.data ?? []) {+ for (const raw of [c.name, c.readableId]) {+ const k = text(raw).toLowerCase();+ if (!k) continue;+ if (+ refs.customersByKey.has(k) &&+ refs.customersByKey.get(k) !== c.id+ ) {+ refs.ambiguousCustomers.add(k);+ } else {+ refs.customersByKey.set(k, c.id);+ }}}+ } catch (err) {+ return {+ refs: null,+ error: {+ message: `Failed to load customers: ${(err as Error).message}`+ }+ };}}- // Items — resolve part numbers referenced by line rows.+ // Items — resolve part numbers (exact readableId match), chunked.const partNumbers = new Set<string>();for (const r of records) {const pn = text(r.itemReadableId);if (pn) partNumbers.add(pn);}- if (partNumbers.size > 0) {+ for (const batch of chunk(Array.from(partNumbers), LOOKUP_CHUNK)) {const items = await client.from("item").select("id, readableId, type, defaultMethodType, unitOfMeasureCode").eq("companyId", companyId)- .in("readableId", Array.from(partNumbers));+ .in("readableId", batch);+ if (items.error) {+ return {+ refs: null,+ error: { message: `Failed to load items: ${items.error.message}` }+ };+ }for (const it of items.data ?? []) {- refs.itemsByReadableId.set(text(it.readableId).toLowerCase(), {+ refs.itemsByReadableId.set(text(it.readableId), {id: it.id,readableId: it.readableId,type: it.type ?? "Part",@@ -314,33 +361,57 @@ async function loadReferences(const q = text(r.quoteId);if (q) numbers.add(q);}- if (numbers.size > 0) {+ for (const batch of chunk(Array.from(numbers), LOOKUP_CHUNK)) {const quotes = await client.from("quote").select("id, quoteId").eq("companyId", companyId)- .in("quoteId", Array.from(numbers));+ .in("quoteId", batch);+ if (quotes.error) {+ return {+ refs: null,+ error: { message: `Failed to load quotes: ${quotes.error.message}` }+ };+ }for (const q of quotes.data ?? []) {refs.quotesByNumber.set(text(q.quoteId), q.id);}}}- // Already-imported Quote Groups (create-only idempotency).+ // Already-imported Quote Groups (create-only idempotency) — query only the+ // external ids present in this file, chunked, so a company with many prior+ // imports can't overflow the 1000-row cap and miss an existing mapping.if (table !== "quoteLine") {- const mappings = await client- .from("externalIntegrationMapping")- .select("externalId")- .eq("companyId", companyId)- .eq("integration", EXTERNAL_INTEGRATION)- .eq("entityType", QUOTE_ENTITY_TYPE);- for (const m of mappings.data ?? []) {- const k = text(m.externalId);- if (k) refs.importedExternalIds.add(k);+ const externalIds = new Set<string>();+ for (const r of records) {+ const e = text(r.externalId);+ if (e) externalIds.add(e);+ }+ for (const batch of chunk(Array.from(externalIds), LOOKUP_CHUNK)) {+ const mappings = await client+ .from("externalIntegrationMapping")+ .select("externalId")+ .eq("companyId", companyId)+ .eq("integration", EXTERNAL_INTEGRATION)+ .eq("entityType", QUOTE_ENTITY_TYPE)+ .in("externalId", batch);+ if (mappings.error) {+ return {+ refs: null,+ error: {+ message: `Failed to load import history: ${mappings.error.message}`+ }+ };+ }+ for (const m of mappings.data ?? []) {+ const k = text(m.externalId);+ if (k) refs.importedExternalIds.add(k);+ }}}- return refs;+ return { refs, error: null };}// ---------------------------------------------------------------------------@@ -485,15 +556,26 @@ async function importQuoteGroups(summary.inserted += 1;const quoteInternalId = created.data.id;- // Record the mapping so a re-import skips this Quote Group.- await client.from("externalIntegrationMapping").insert({- entityType: QUOTE_ENTITY_TYPE,- entityId: quoteInternalId,- integration: EXTERNAL_INTEGRATION,- externalId,- companyId,- createdBy: userId- });+ // Record the mapping so a re-import skips this Quote Group. If this write+ // fails the quote still exists, so surface it — a re-import would otherwise+ // create a duplicate quote for this group.+ const mappingInsert = await client+ .from("externalIntegrationMapping")+ .insert({+ entityType: QUOTE_ENTITY_TYPE,+ entityId: quoteInternalId,+ integration: EXTERNAL_INTEGRATION,+ externalId,+ companyId,+ createdBy: userId+ });+ if (mappingInsert.error) {+ summary.errors.push({+ row: header.index,+ reason: `Quote created, but recording its import mapping failed (a re-import may duplicate it): ${mappingInsert.error.message}`,+ values: header.record+ });+ }await createLines(client, {quoteInternalId,@@ -582,7 +664,7 @@ async function createLines(});continue;}- const item = refs.itemsByReadableId.get(partNumber.toLowerCase());+ const item = refs.itemsByReadableId.get(partNumber);if (!item) {summary.errors.push({row: index,@@ -593,8 +675,8 @@ async function createLines(}const description = text(record.description) || item.readableId;- const quantity = num(record.quantity);- if (quantity === undefined || quantity < 0.00001) {+ const quantityRaw = text(record.quantity);+ if (!quantityRaw) {summary.errors.push({row: index,reason: "Quantity is required",@@ -602,8 +684,17 @@ async function createLines(});continue;}+ const quantity = num(quantityRaw);+ if (quantity === undefined || quantity < 0.00001) {+ summary.errors.push({+ row: index,+ reason: "Quantity must be a positive number",+ values: record+ });+ continue;+ }- const dedupKey = `${partNumber.toLowerCase()}|${quantity}`;+ const dedupKey = `${item.readableId}|${quantity}`;if (seen.has(dedupKey)) {summary.skipped.push({row: index,@@ -618,7 +709,8 @@ async function createLines(if (discount === "invalid") {summary.errors.push({row: index,- reason: "Discount Percent must be between 0 and 100",+ reason:+ "Discount Percent must be a fraction 0–1 (e.g. 0.10) or a whole percent 0–100 (e.g. 10)",values: record});continue;diff --git a/apps/erp/app/modules/sales/ui/Quotes/QuotesTable.tsx b/apps/erp/app/modules/sales/ui/Quotes/QuotesTable.tsxindex 1ebe82f475..4b5139b6f2 100644--- a/apps/erp/app/modules/sales/ui/Quotes/QuotesTable.tsx+++ b/apps/erp/app/modules/sales/ui/Quotes/QuotesTable.tsx@@ -314,7 +314,9 @@ const QuotesTable = memo(({ data, count }: QuotesTableProps) => {updatedBy: false}}importCSV={- permissions.can("create", "sales")+ // The import action gates on `sales_update` (see import.$tableId.tsx),+ // so match that here rather than `create`.+ permissions.can("update", "sales")? [{table: "quoteWithLines" as const,diff --git a/apps/erp/app/routes/x+/shared+/import.$tableId.tsx b/apps/erp/app/routes/x+/shared+/import.$tableId.tsxindex a9c8b9e716..bb39adba43 100644--- a/apps/erp/app/routes/x+/shared+/import.$tableId.tsx+++ b/apps/erp/app/routes/x+/shared+/import.$tableId.tsx@@ -43,9 +43,19 @@ export async function action({ request, params }: ActionFunctionArgs) {}const { filePath, enumMappings, ...columnMappings } = validation.data;- const parsedEnumMappings = enumMappings- ? JSON.parse(enumMappings as string)- : undefined;+ let parsedEnumMappings: Record<string, Record<string, string>> | undefined;+ if (enumMappings) {+ try {+ parsedEnumMappings = JSON.parse(enumMappings as string);+ } catch {+ // Malformed client-supplied JSON — treat as a validation failure rather+ // than letting the parse throw escape as a 500.+ return {+ success: false,+ message: "Validation failed"+ };+ }+ }const serviceRole = getCarbonServiceRole();// Quotes are created through the sales services (Option B) so quote side@@ -65,7 +75,9 @@ export async function action({ request, params }: ActionFunctionArgs) {table,filePath: filePath as string,columnMappings,- enumMappings: parsedEnumMappings,+ // The edge-fn wrapper types enumMappings loosely (Record<string,+ // string[]>); the real payload is field → { value → mapped }.+ enumMappings: parsedEnumMappings as unknown as Record<string, string[]>,companyId,userId});diff --git a/packages/locale/locales/de/erp.po b/packages/locale/locales/de/erp.poindex c1205273fa..6ad29c7ede 100644--- a/packages/locale/locales/de/erp.po+++ b/packages/locale/locales/de/erp.po@@ -10067,6 +10067,7 @@ msgstr "Angebotsposition"msgid "Quote Lines"msgstr "Angebotszeilen"+msgid "Quote lines whose bill of materials includes this item"msgstr "Angebotspositionen, deren Stückliste diesen Artikel enthält"diff --git a/packages/locale/locales/en/erp.po b/packages/locale/locales/en/erp.poindex a4e323ff7c..f4b9eb4fb8 100644--- a/packages/locale/locales/en/erp.po+++ b/packages/locale/locales/en/erp.po@@ -10067,6 +10067,7 @@ msgstr "Quote Line"msgid "Quote Lines"msgstr "Quote Lines"+msgid "Quote lines whose bill of materials includes this item"msgstr "Quote lines whose bill of materials includes this item"diff --git a/packages/locale/locales/es/erp.po b/packages/locale/locales/es/erp.poindex 242a6f92b6..c19816ede1 100644--- a/packages/locale/locales/es/erp.po+++ b/packages/locale/locales/es/erp.po@@ -10067,6 +10067,7 @@ msgstr "Línea de Cotización"msgid "Quote Lines"msgstr "Líneas de Cotización"+msgid "Quote lines whose bill of materials includes this item"msgstr "Líneas de cotización cuya lista de materiales incluye este artículo"diff --git a/packages/locale/locales/fr/erp.po b/packages/locale/locales/fr/erp.poindex 3baf48d3e9..554de19436 100644--- a/packages/locale/locales/fr/erp.po+++ b/packages/locale/locales/fr/erp.po@@ -10066,7 +10066,8 @@ msgid "Quote Line"msgstr "Ligne de devis"msgid "Quote Lines"-msgstr "Lignes de Devis"+msgstr "Lignes de devis"+msgid "Quote lines whose bill of materials includes this item"msgstr "Lignes de devis dont la nomenclature inclut cet article"@@ -10098,7 +10099,7 @@ msgid "Quotes"msgstr "Devis"msgid "Quotes with Lines"-msgstr "Devis avec Lignes"+msgstr "Devis avec lignes"msgid "Quoting"msgstr "Devis"diff --git a/packages/locale/locales/hi/erp.po b/packages/locale/locales/hi/erp.poindex f5e0ea9502..6e38692469 100644--- a/packages/locale/locales/hi/erp.po+++ b/packages/locale/locales/hi/erp.po@@ -10067,6 +10067,7 @@ msgstr "उद्धरण पंक्ति"msgid "Quote Lines"msgstr "उद्धरण पंक्तियाँ"+msgid "Quote lines whose bill of materials includes this item"msgstr "उद्धरण पंक्तियां जिनकी सामग्री सूची में यह आइटम शामिल है"diff --git a/packages/locale/locales/it/erp.po b/packages/locale/locales/it/erp.poindex 2d75275cca..18968dedf4 100644--- a/packages/locale/locales/it/erp.po+++ b/packages/locale/locales/it/erp.po@@ -10066,7 +10066,8 @@ msgid "Quote Line"msgstr "Riga di Preventivo"msgid "Quote Lines"-msgstr "Righe Preventivo"+msgstr "Righe di Preventivo"+msgid "Quote lines whose bill of materials includes this item"msgstr "Righe di preventivo la cui distinta base include questo articolo"diff --git a/packages/locale/locales/ja/erp.po b/packages/locale/locales/ja/erp.poindex d9d2704d43..e82e99a588 100644--- a/packages/locale/locales/ja/erp.po+++ b/packages/locale/locales/ja/erp.po@@ -10067,6 +10067,7 @@ msgstr "見積行"msgid "Quote Lines"msgstr "見積明細"+msgid "Quote lines whose bill of materials includes this item"msgstr "このアイテムが部品表に含まれる見積行"@@ -10098,7 +10099,7 @@ msgid "Quotes"msgstr "見積"msgid "Quotes with Lines"-msgstr "見積明細付き"+msgstr "明細付き見積"msgid "Quoting"msgstr "見積"diff --git a/packages/locale/locales/ko/erp.po b/packages/locale/locales/ko/erp.poindex 3fa7c19f68..efa80a1cb1 100644--- a/packages/locale/locales/ko/erp.po+++ b/packages/locale/locales/ko/erp.po@@ -10067,6 +10067,7 @@ msgstr "견적 라인"msgid "Quote Lines"msgstr "견적 라인"+msgid "Quote lines whose bill of materials includes this item"msgstr "자재명세서에 이 품목을 포함하는 견적 라인"diff --git a/packages/locale/locales/pl/erp.po b/packages/locale/locales/pl/erp.poindex 0ecf650dc1..c3601390d7 100644--- a/packages/locale/locales/pl/erp.po+++ b/packages/locale/locales/pl/erp.po@@ -10067,6 +10067,7 @@ msgstr "Linia oferty"msgid "Quote Lines"msgstr "Pozycje oferty"+msgid "Quote lines whose bill of materials includes this item"msgstr "Linie oferty, których zestawienie materiałów zawiera ten przedmiot"diff --git a/packages/locale/locales/pt/erp.po b/packages/locale/locales/pt/erp.poindex 253b33e20f..0cd1c10cc5 100644--- a/packages/locale/locales/pt/erp.po+++ b/packages/locale/locales/pt/erp.po@@ -10067,6 +10067,7 @@ msgstr "Linha de Cotação"msgid "Quote Lines"msgstr "Linhas de Cotação"+msgid "Quote lines whose bill of materials includes this item"msgstr "Linhas de cotação cuja lista de materiais inclui este item"diff --git a/packages/locale/locales/ru/erp.po b/packages/locale/locales/ru/erp.poindex d94af390f5..e42a7eed9f 100644--- a/packages/locale/locales/ru/erp.po+++ b/packages/locale/locales/ru/erp.po@@ -10066,7 +10066,8 @@ msgid "Quote Line"msgstr "Строка предложения"msgid "Quote Lines"-msgstr "Строки котировки"+msgstr "Строки предложения"+msgid "Quote lines whose bill of materials includes this item"msgstr "Строки предложения, чья спецификация материалов включает этот товар"@@ -10098,7 +10099,7 @@ msgid "Quotes"msgstr "Предложения"msgid "Quotes with Lines"-msgstr "Котировки со строками"+msgstr "Предложения со строками"msgid "Quoting"msgstr "Котировка"diff --git a/packages/locale/locales/tr/erp.po b/packages/locale/locales/tr/erp.poindex ddf88f4f1d..5d23c10d85 100644--- a/packages/locale/locales/tr/erp.po+++ b/packages/locale/locales/tr/erp.po@@ -10067,6 +10067,7 @@ msgstr "Teklif Satırı"msgid "Quote Lines"msgstr "Teklif Satırları"+msgid "Quote lines whose bill of materials includes this item"msgstr "Malzeme listesinde bu ürünü içeren teklif satırları"@@ -10098,7 +10099,7 @@ msgid "Quotes"msgstr "Teklifler"msgid "Quotes with Lines"-msgstr "Satırları Olan Teklifler"+msgstr "Satırlı Teklifler"msgid "Quoting"msgstr "Teklif Verme"diff --git a/packages/locale/locales/zh/erp.po b/packages/locale/locales/zh/erp.poindex 5626746e03..f3b94e3027 100644--- a/packages/locale/locales/zh/erp.po+++ b/packages/locale/locales/zh/erp.po@@ -10067,6 +10067,7 @@ msgstr "报价行"msgid "Quote Lines"msgstr "报价行"+msgid "Quote lines whose bill of materials includes this item"msgstr "物料清单中包含此物品的报价行"@@ -10098,7 +10099,7 @@ msgid "Quotes"msgstr "报价"msgid "Quotes with Lines"-msgstr "有行的报价单"+msgstr "带报价行的报价单"msgid "Quoting"msgstr "报价"