Making the frog happy

This commit is contained in:
Oliver Walters 2019-05-11 00:43:02 +10:00
parent 97b9cac205
commit 271c684b22

View File

@ -175,10 +175,6 @@ class StockMove(APIView):
if 'notes' not in data: if 'notes' not in data:
raise ValidationError({'notes': 'Notes field must be supplied'}) raise ValidationError({'notes': 'Notes field must be supplied'})
parts = []
errors = []
for item in stock_list: for item in stock_list:
try: try:
stock_id = int(item['pk']) stock_id = int(item['pk'])