From 271c684b2226d4c3a61452a84ac6b3eb08b250a6 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Sat, 11 May 2019 00:43:02 +1000 Subject: [PATCH] Making the frog happy --- InvenTree/stock/api.py | 4 ---- 1 file changed, 4 deletions(-) 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'])