2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-19 21:45:39 +00:00

Exclude sales order allocations when searching stock

This commit is contained in:
Oliver
2021-10-06 17:42:00 +11:00
parent cbd2732622
commit 336b05aa4e
3 changed files with 41 additions and 3 deletions

View File

@ -1631,7 +1631,7 @@ function loadSalesOrderLineItemTable(table, options={}) {
location_detail: true,
in_stock: true,
part: line_item.part,
// TODO: Exclude items already allocated to this sales order
exclude_so_allocation: options.order,
}
},
quantity: {