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(invoicing): don't set datePaid when a purchase invoice is posted (#1524)
Brad Barbin1a6c50161241
diff --git a/packages/database/supabase/functions/post-purchase-invoice/index.ts b/packages/database/supabase/functions/post-purchase-invoice/index.tsindex f90ddd4190..bcc45b3b4e 100644--- a/packages/database/supabase/functions/post-purchase-invoice/index.ts+++ b/packages/database/supabase/functions/post-purchase-invoice/index.ts@@ -2261,7 +2261,6 @@ serve(async (req: Request) => {await trx.updateTable("purchaseInvoice").set({- datePaid: today, // TODO: remove this once we have payments working...(dateDue ? { dateDue } : {}),postingDate: today,status: "Open",