2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-18 21:15:41 +00:00

Display table of items received against a particular purchase order

- Adds new tab to "Purchase Order" view
- Adds ability to filter StockList API by purchase_order ID
This commit is contained in:
Oliver Walters
2020-10-19 11:40:57 +11:00
parent 2dc9109b11
commit 634410294b
5 changed files with 45 additions and 2 deletions

View File

@ -262,7 +262,7 @@ function loadStockTable(table, options) {
formatNoMatches: function() {
return '{% trans "No stock items matching query" %}';
},
url: options.url,
url: options.url || "{% url 'api-stock-list' %}",
queryParams: filters,
customSort: customGroupSorter,
groupBy: true,