We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4c1967b + 098b030 commit bce8812Copy full SHA for bce8812
1 file changed
budget_allocation/report/budget_source_fund_report.py
@@ -169,7 +169,10 @@ def _from_budget(self):
169
"""
170
171
def _where_budget(self):
172
- return "where sf.active is true and ba.active is true and bc.active is true"
+ return (
173
+ "where sf.active is true and ba.active is true and bc.active is true "
174
+ "and ba.budget_period_id = bp.id"
175
+ )
176
177
def _select_statement(self, amount_type):
178
return self._get_select_amount_types()[amount_type]
0 commit comments