Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
SamDudley committed May 28, 2024
1 parent ef6576f commit bff2d30
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion forecast/management/commands/new_financial_year.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,9 @@ def pre_new_financial_year_checks() -> None:
This function will raise `NewFinancialYearError` if any issues are found.
Checks:
- Look for NACs with invalid economic budget codes.
- Look for used NACs with invalid economic budget codes.
"""
# It's possible this needs to be scoped to a financial year in the future.
problem_nacs = FinancialCode.objects.exclude(
natural_account_code__economic_budget_code__in=VALID_ECONOMIC_CODE_LIST
)
Expand Down

0 comments on commit bff2d30

Please sign in to comment.