diff --git a/InvenTree/templates/js/translated/part.js b/InvenTree/templates/js/translated/part.js index d552bcb9d7..57f76dcae4 100644 --- a/InvenTree/templates/js/translated/part.js +++ b/InvenTree/templates/js/translated/part.js @@ -500,6 +500,11 @@ function duplicateBom(part_id, options={}) { */ function partStockLabel(part, options={}) { + // Prevent literal string 'null' from being displayed + if (part.units == null) { + part.units = ''; + } + if (part.in_stock) { // There IS stock available for this part