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.

chore(purchasing): drop TODO comment on PurchaseOrder type intersection

naveenkash57554ff98ec6
diff --git a/apps/erp/app/modules/purchasing/types.ts b/apps/erp/app/modules/purchasing/types.ts
index 6bfa28b828..e32747f4cc 100644
--- a/apps/erp/app/modules/purchasing/types.ts
+++ b/apps/erp/app/modules/purchasing/types.ts
@@ -25,8 +25,6 @@ export type PurchaseOrderAttachment = FileObject; // TODO: remove
export type PurchaseOrder = NonNullable<
Awaited<ReturnType<typeof getPurchaseOrders>>["data"]
>[number] & {
- // TODO: remove this intersection once database types are regenerated
- // (columns added to the "purchaseOrders" view by migration 20260708204214)
receivableQuantity?: number | null;
receivedQuantity?: number | null;
};