diff --git a/InvenTree/templates/js/translated/part.js b/InvenTree/templates/js/translated/part.js index ca063b3f9b..dcdd3da7d6 100644 --- a/InvenTree/templates/js/translated/part.js +++ b/InvenTree/templates/js/translated/part.js @@ -2028,6 +2028,22 @@ function loadPartSchedulingChart(canvas_id, part_id) { } ); + // If no scheduling information is available for the part, + // remove the chart and display a message instead + if (stock_schedule.length <= 1) { + + var message = ` +