Bugfix for notes field

This commit is contained in:
Oliver Walters 2020-04-10 00:03:21 +10:00
parent 58a0f40889
commit 3e5dc65c49

View File

@ -151,7 +151,7 @@ class StockAdjust(APIView):
'quantity': quantity 'quantity': quantity
}) })
self.notes = str(request.POST.get('notes', '')) self.notes = str(request.data.get('notes', ''))
class StockCount(StockAdjust): class StockCount(StockAdjust):