From 1b3ffada6dbc3032b453a0ddf28264064caffd52 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Sun, 2 Jun 2019 12:13:22 +1000 Subject: [PATCH] Add-stock is now working --- InvenTree/stock/views.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/InvenTree/stock/views.py b/InvenTree/stock/views.py index aca89875fd..2c83545843 100644 --- a/InvenTree/stock/views.py +++ b/InvenTree/stock/views.py @@ -336,6 +336,8 @@ class StockAdjust(AjaxView, FormMixin): if item.new_quantity <= 0: continue + item.add_stock(item.new_quantity, self.request.user, notes=note) + count += 1 return _("Added stock to {n} items".format(n=count))