mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-11-04 07:05:41 +00:00 
			
		
		
		
	Restrict "recently updated" stock to "available" (#5165)
This commit is contained in:
		@@ -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'),
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user