diff --git a/InvenTree/stock/api.py b/InvenTree/stock/api.py index ad688c6e28..0bd048087e 100644 --- a/InvenTree/stock/api.py +++ b/InvenTree/stock/api.py @@ -175,10 +175,6 @@ class StockMove(APIView): if 'notes' not in data: raise ValidationError({'notes': 'Notes field must be supplied'}) - parts = [] - - errors = [] - for item in stock_list: try: stock_id = int(item['pk'])