Exclude sales order allocations when searching stock

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

No files matched your search

+1 -1
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: {