This commit is contained in:
Kenneth Kehl
2024-10-30 14:22:08 -07:00
parent 4cb360ecb2
commit dd2921406f

View File

@@ -655,7 +655,8 @@ def populate_annual_billing_with_defaults(year, missing_services_only):
AnnualBilling.financial_year_start == year,
),
)
.where(Service.active, AnnualBilling.id == None) # noqa
.where(Service.active)
.where(AnnualBilling.id == None) # noqa
)
active_services = db.session.execute(stmt).scalars().all()
else: