2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-11-14 03:46:44 +00:00

[bug] Allocated items print fix (#9952)

* Fix label printing for SalesOrderAllocation table

- Need to provide custom lookup option

* Add label actions to BuildOrderAllocationTable
This commit is contained in:
Oliver
2025-07-04 10:38:51 +10:00
committed by GitHub
parent e7b27c9e2f
commit 3d9291d95f
4 changed files with 18 additions and 1 deletions

View File

@@ -266,6 +266,9 @@ export default function BuildAllocatedStockTable({
rowActions: rowActions,
tableActions: tableActions,
tableFilters: tableFilters,
enableLabels: true,
enableReports: true,
printingAccessor: 'stock_item',
modelField: modelField ?? 'stock_item',
modelType: modelTarget ?? ModelType.stockitem
}}