2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-18 13:05:42 +00:00

Only display "outstanding" sales order allocations in table

This commit is contained in:
Oliver
2022-03-16 23:01:46 +11:00
parent 529acb3bf6
commit d1338e210e
2 changed files with 11 additions and 1 deletions

View File

@ -2353,6 +2353,10 @@ function loadStockAllocationTable(table, options={}) {
query_params.customer_detail = true;
query_params.order_detail = true;
// Note: SalesOrderAllocations do not get deleted,
// so we must filter by "outstanding" status
query_params.outstanding = true;
delete query_params.build_detail;
// Load sales order allocation data