mirror of
https://github.com/inventree/InvenTree.git
synced 2025-07-01 03:00:54 +00:00
Add "install_into" field for BuildItem
- Points to which output stock item it will be going into
This commit is contained in:
@ -493,6 +493,12 @@ class StockList(generics.ListCreateAPIView):
|
||||
if build_order:
|
||||
queryset = queryset.filter(build_order=build_order)
|
||||
|
||||
is_building = params.get('is_building', None)
|
||||
|
||||
if is_building:
|
||||
is_building = str2bool(is_building)
|
||||
queryset = queryset.filter(is_building=is_building)
|
||||
|
||||
sales_order = params.get('sales_order', None)
|
||||
|
||||
if sales_order:
|
||||
|
Reference in New Issue
Block a user