[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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

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