diff --git a/InvenTree/part/api.py b/InvenTree/part/api.py index f7bb81520d..e1b0dda61f 100644 --- a/InvenTree/part/api.py +++ b/InvenTree/part/api.py @@ -1348,6 +1348,7 @@ class PartList(generics.ListCreateAPIView): 'creation_date', 'IPN', 'in_stock', + 'unallocated_stock', 'category', ] diff --git a/InvenTree/templates/js/translated/part.js b/InvenTree/templates/js/translated/part.js index 7a08d534df..d5ab193429 100644 --- a/InvenTree/templates/js/translated/part.js +++ b/InvenTree/templates/js/translated/part.js @@ -1384,7 +1384,7 @@ function loadPartTable(table, url, options={}) { link = '?display=build-orders'; } else { // There is no available stock - value = `0{% trans "Not available" %}`; + value = `0{% trans "No stock available" %}`; } } } else {