From 7447561f77931314fdf5320bd3b94406a1d0be06 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Tue, 14 May 2019 17:12:06 +1000 Subject: [PATCH] Fix link for part stock in BOM table --- InvenTree/static/script/inventree/bom.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/InvenTree/static/script/inventree/bom.js b/InvenTree/static/script/inventree/bom.js index 7d7fe6ab28..fd7f2ebd9d 100644 --- a/InvenTree/static/script/inventree/bom.js +++ b/InvenTree/static/script/inventree/bom.js @@ -135,7 +135,7 @@ function loadBomTable(table, options) { text = "" + value + ""; } - return renderLink(text, row.sub_part.url + "stock/"); + return renderLink(text, row.sub_part_detail.url + "stock/"); } } );