Supplier part form (#11884)

* Fix SupplierPart sub-form

Co-authored-by: Copilot <copilot@github.com>

* Fix details panel for SupplierPart page

---------

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
Oliver
2026-05-07 22:48:44 +10:00
committed by GitHub
co-authored by Copilot
parent 66ecb1c9ff
commit e16eb4a94d
2 changed files with 22 additions and 5 deletions
+17 -2
View File
@@ -144,10 +144,25 @@ export function usePurchaseOrderLineItemFields({
};
},
addCreateFields: {
part: {},
part: {
filters: {
active: true,
purchaseable: true
}
},
SKU: {},
manufacturer_part: {
filters: {
part_detail: true,
manufacturer_detail: true,
active: true
}
},
description: {},
supplier: { hidden: true }
supplier: {
hidden: true,
value: supplierId
}
}
},
line: {},