diff --git a/InvenTree/stock/api.py b/InvenTree/stock/api.py index 08924cc52d..a13c7f37c3 100644 --- a/InvenTree/stock/api.py +++ b/InvenTree/stock/api.py @@ -543,7 +543,7 @@ class StockList(generics.ListCreateAPIView): item.pk = None item.serial = serial - item.save() + item.save(user=user) response_data = { 'quantity': quantity, diff --git a/InvenTree/templates/js/translated/stock.js b/InvenTree/templates/js/translated/stock.js index 9be480fd31..809cd6fa8c 100644 --- a/InvenTree/templates/js/translated/stock.js +++ b/InvenTree/templates/js/translated/stock.js @@ -2291,8 +2291,7 @@ function loadStockAllocationTable(table, options={}) { } else if (row.order) { // Add an icon for the customer - html += thumbnailImage( - row.customer_detail.thumbnail || row.customer_detail.image, { + html += thumbnailImage(row.customer_detail.thumbnail || row.customer_detail.image, { title: row.customer_detail.name, });