diff --git a/InvenTree/templates/js/translated/stock.js b/InvenTree/templates/js/translated/stock.js index 1299ad81dd..09351e0bc1 100644 --- a/InvenTree/templates/js/translated/stock.js +++ b/InvenTree/templates/js/translated/stock.js @@ -3169,7 +3169,11 @@ function setStockStatus(items, options={}) { note: {}, }, processBeforeUpload: function(data) { - data.items = items; + let item_pk_values = []; + items.forEach(function(item) { + item_pk_values.push(item.pk); + }); + data.items = item_pk_values; return data; }, onSuccess: function() {