diff --git a/crm/api/dashboard.py b/crm/api/dashboard.py index 03097b3f..5a9c56b8 100644 --- a/crm/api/dashboard.py +++ b/crm/api/dashboard.py @@ -649,8 +649,6 @@ def get_forecasted_revenue(from_date="", to_date="", user=""): """, as_dict=True, ) - if not result: - return [] for row in result: row["month"] = frappe.utils.get_datetime(row["month"]).strftime("%Y-%m-01")