diff --git a/InvenTree/templates/js/translated/stock.js b/InvenTree/templates/js/translated/stock.js index 93a496f623..7ca1c77668 100644 --- a/InvenTree/templates/js/translated/stock.js +++ b/InvenTree/templates/js/translated/stock.js @@ -1729,7 +1729,11 @@ function loadStockTable(table, options) { switchable: params['part_detail'], formatter: function(value, row) { var ipn = row.part_detail.IPN; - return withTitle(shortenString(ipn), ipn); + if (ipn) { + return withTitle(shortenString(ipn), ipn); + } else { + return '-'; + } }, };