From 1fb94bf04b27d6c03598f71b1b984967f14fdcb5 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Tue, 19 Apr 2022 20:35:54 +1000 Subject: [PATCH] Allow "tracked" stock items to be installed, rather than just serialized --- InvenTree/templates/js/translated/stock.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/InvenTree/templates/js/translated/stock.js b/InvenTree/templates/js/translated/stock.js index 10250d3da1..de42528142 100644 --- a/InvenTree/templates/js/translated/stock.js +++ b/InvenTree/templates/js/translated/stock.js @@ -2659,7 +2659,8 @@ function installStockItem(stock_item_id, part_id, options={}) { `; @@ -2685,7 +2686,7 @@ function installStockItem(stock_item_id, part_id, options={}) { filters: { part_detail: true, in_stock: true, - serialized: true, + tracked: true, }, adjustFilters: function(filters, opts) { var part = getFormFieldValue('part', {}, opts);