fix: 'ForecastingReport' object has no attribute 'total_demand'
This commit is contained in:
parent
7a05662e9f
commit
5a82276389
@ -217,6 +217,8 @@ class ForecastingReport(ExponentialSmoothingForecast):
|
||||
}
|
||||
|
||||
def get_summary_data(self):
|
||||
if not self.data: return
|
||||
|
||||
return [
|
||||
{
|
||||
"value": sum(self.total_demand),
|
||||
|
Loading…
x
Reference in New Issue
Block a user