From 6d9d03d5118934baf1b21b2be8c732b739ce267e Mon Sep 17 00:00:00 2001 From: Sam Dudley Date: Fri, 29 Nov 2024 23:23:24 +0000 Subject: [PATCH] Fix missing default for yearly budget sum (#557) --- forecast/views/edit_forecast.py | 1 + 1 file changed, 1 insertion(+) diff --git a/forecast/views/edit_forecast.py b/forecast/views/edit_forecast.py index 10132914..2d5663b3 100644 --- a/forecast/views/edit_forecast.py +++ b/forecast/views/edit_forecast.py @@ -112,6 +112,7 @@ def get_financial_code_serialiser( forecast_budgetmonthlyfigures__financial_year_id=financial_year, forecast_budgetmonthlyfigures__archived_status=None, ), + default=0, ) ) .order_by(*edit_forecast_order())