mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 00:14:50 +00:00
Merge pull request #22121 from rohitwaghchaure/error-report-exponential-smoothing-report
fix: 'ForecastingReport' object has no attribute 'total_demand'
This commit is contained in:
@@ -217,6 +217,8 @@ class ForecastingReport(ExponentialSmoothingForecast):
|
|||||||
}
|
}
|
||||||
|
|
||||||
def get_summary_data(self):
|
def get_summary_data(self):
|
||||||
|
if not self.data: return
|
||||||
|
|
||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
"value": sum(self.total_demand),
|
"value": sum(self.total_demand),
|
||||||
|
|||||||
Reference in New Issue
Block a user