mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-09 11:46:26 +00:00
More work
- Consolidated "in_stock" filter to single code location - Improve 'limit_choices_to' for BuildItem and SalesOrderAllocation - Various template improvements etc
This commit is contained in:
1 parent
4147163418
commit
e768ada83b
20 files changed
+362
-79
No files matched your search
@@ -53,6 +53,8 @@ class BuildList(generics.ListCreateAPIView):
|
||||
|
||||
def filter_queryset(self, queryset):
|
||||
|
||||
queryset = super().filter_queryset(queryset)
|
||||
|
||||
# Filter by build status?
|
||||
status = self.request.query_params.get('status', None)
|
||||
|
||||
|
||||
Reference in new issue
Block a user