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:
@@ -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
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user