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.

fix: bulk update customer in quote

Brad Barbind65912745a2a
diff --git a/apps/carbon/app/routes/x+/quote+/update.tsx b/apps/carbon/app/routes/x+/quote+/update.tsx
index 620057b8af..d06fe1f37e 100644
--- a/apps/carbon/app/routes/x+/quote+/update.tsx
+++ b/apps/carbon/app/routes/x+/quote+/update.tsx
@@ -33,7 +33,7 @@ export async function action({ request }: ActionFunctionArgs) {
currencyCode = customer.data.currencyCode;
return json(
await client
- .from("salesOrder")
+ .from("quote")
.update({
customerId: value ?? undefined,
currencyCode: currencyCode ? currencyCode : undefined,
@@ -47,7 +47,7 @@ export async function action({ request }: ActionFunctionArgs) {
return json(
await client
- .from("salesOrder")
+ .from("quote")
.update({
customerId: value ?? undefined,
updatedBy: userId,