mirror of
https://github.com/inventree/InvenTree.git
synced 2026-09-27 22:26:00 +00:00
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:
@@ -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: {},
|
||||
|
||||
Reference in New Issue
Block a user