From 3127b1b34a374fe33877f8231202137b22ce8f80 Mon Sep 17 00:00:00 2001 From: Oliver Date: Thu, 27 Jan 2022 13:48:16 +1100 Subject: [PATCH] Remove incorrect line --- InvenTree/stock/api.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/InvenTree/stock/api.py b/InvenTree/stock/api.py index 42a9316c54..08924cc52d 100644 --- a/InvenTree/stock/api.py +++ b/InvenTree/stock/api.py @@ -469,8 +469,6 @@ class StockList(generics.ListCreateAPIView): data = OrderedDict() data.update(request.data) - data = request.data - quantity = data.get('quantity', None) if quantity is None: