mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Restrict "recently updated" stock to "available" (#5165)
This commit is contained in:
parent
8b730884d7
commit
4c3dc6ddbd
@ -107,6 +107,7 @@ addHeaderAction('recently-updated-stock', '{% trans "Recently Updated" %}', 'fa-
|
|||||||
loadStockTable($('#table-recently-updated-stock'), {
|
loadStockTable($('#table-recently-updated-stock'), {
|
||||||
disableFilters: true,
|
disableFilters: true,
|
||||||
params: {
|
params: {
|
||||||
|
in_stock: true,
|
||||||
part_detail: true,
|
part_detail: true,
|
||||||
ordering: "-updated",
|
ordering: "-updated",
|
||||||
updated_after: moment().subtract(1, 'months').format('YYYY-MM-DD'),
|
updated_after: moment().subtract(1, 'months').format('YYYY-MM-DD'),
|
||||||
|
Loading…
Reference in New Issue
Block a user