From a7abf9731b46d4486f27465fd43b49fc0222b587 Mon Sep 17 00:00:00 2001 From: Oliver Date: Sun, 6 May 2018 22:28:50 +1000 Subject: [PATCH] Add link to stock-item in part-stock view --- InvenTree/part/templates/part/stock.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/InvenTree/part/templates/part/stock.html b/InvenTree/part/templates/part/stock.html index c6645108c1..e7373e223d 100644 --- a/InvenTree/part/templates/part/stock.html +++ b/InvenTree/part/templates/part/stock.html @@ -63,6 +63,9 @@ title: 'Stock', searchable: false, sortable: true, + formatter: function(value, row, index, field) { + return renderLink(value, row.url); + } } ], url: "{% url 'api-stock-list' %}"