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 3795bd3df8b9077247130e9e7e51c4259be45e15..c9ccccd0f89b551b2bf0277d75b6b53a7466e3b5 100644 --- a/erpnext/manufacturing/report/exponential_smoothing_forecasting/exponential_smoothing_forecasting.js +++ b/erpnext/manufacturing/report/exponential_smoothing_forecasting/exponential_smoothing_forecasting.js @@ -91,7 +91,14 @@ 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 daef7f6cca7499c902035d1bc7d75a44599d1fc8..ac609ec0f4486788019d49262a55587aa8dd9581 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: