2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-18 02:36:31 +00:00

[UI] Sales order fixes (#10024)

* Fix stock item reference

* Allow edit from allocated items sub-table
This commit is contained in:
Oliver
2025-07-15 13:00:33 +10:00
committed by GitHub
parent 6ac563264c
commit 471b8c239f

View File

@@ -480,8 +480,9 @@ export default function SalesOrderLineItemTable({
orderId={orderId} orderId={orderId}
lineItemId={record.pk} lineItemId={record.pk}
partId={record.part} partId={record.part}
allowEdit={false} allowEdit={true}
modelTarget={ModelType.stockitem} modelTarget={ModelType.stockitem}
modelField={'item'}
isSubTable isSubTable
/> />
); );