mirror of
https://github.com/inventree/InvenTree.git
synced 2025-07-05 21:20:56 +00:00
Tests for stock app views
This commit is contained in:
@ -168,9 +168,9 @@ class StockAdjust(AjaxView, FormMixin):
|
||||
elif 'item' in self.request.GET:
|
||||
items = [StockItem.objects.get(id=self.request.GET.get('item'))]
|
||||
|
||||
# Unsupported query
|
||||
# Unsupported query (no items)
|
||||
else:
|
||||
items = None
|
||||
items = []
|
||||
|
||||
for item in items:
|
||||
|
||||
|
Reference in New Issue
Block a user