From 3e5dc65c492762ba8b6c5cc46b37399fab14560a Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Fri, 10 Apr 2020 00:03:21 +1000 Subject: [PATCH] Bugfix for notes field --- InvenTree/stock/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/InvenTree/stock/api.py b/InvenTree/stock/api.py index b387e823bd..ea5cb3e634 100644 --- a/InvenTree/stock/api.py +++ b/InvenTree/stock/api.py @@ -151,7 +151,7 @@ class StockAdjust(APIView): 'quantity': quantity }) - self.notes = str(request.POST.get('notes', '')) + self.notes = str(request.data.get('notes', '')) class StockCount(StockAdjust):