diff --git a/erpnext/manufacturing/report/exponential_smoothing_forecasting/exponential_smoothing_forecasting.js b/erpnext/manufacturing/report/exponential_smoothing_forecasting/exponential_smoothing_forecasting.js index 23fa9ab41b08ddd5680bc3a03401f2c9d6dfb4d4..4a34d126f8846141c418ffd7f59f91162a4d74a0 100644 --- a/erpnext/manufacturing/report/exponential_smoothing_forecasting/exponential_smoothing_forecasting.js +++ b/erpnext/manufacturing/report/exponential_smoothing_forecasting/exponential_smoothing_forecasting.js @@ -93,4 +93,11 @@ frappe.query_reports["Exponential Smoothing Forecasting"] = { }, }, ], + formatter: function (value, row, column, data, default_formatter) { + value = default_formatter(value, row, column, data); + if (column.fieldname === "item_code" && value.includes("Total Quantity")) { + value = "" + value + ""; + } + return value; + }, }; diff --git a/erpnext/manufacturing/report/exponential_smoothing_forecasting/exponential_smoothing_forecasting.py b/erpnext/manufacturing/report/exponential_smoothing_forecasting/exponential_smoothing_forecasting.py index 9237943b808cc35c21fe9ef695dc0db159f17496..05d6584e3d4f9cb30f69f78bb25300d9ca5596c8 100644 --- a/erpnext/manufacturing/report/exponential_smoothing_forecasting/exponential_smoothing_forecasting.py +++ b/erpnext/manufacturing/report/exponential_smoothing_forecasting/exponential_smoothing_forecasting.py @@ -144,7 +144,7 @@ class ForecastingReport(ExponentialSmoothingForecast): if not self.data: return - total_row = {"item_code": _(frappe.bold("Total Quantity"))} + total_row = {"item_code": _("Total Quantity")} for value in self.data: for period in self.period_list: