From ace782a26bdf38c874b55e075999b9abc9a6946c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BE=9D=E7=91=AA=E8=B2=93?= Date: Sun, 5 Mar 2023 22:30:09 +0800 Subject: [PATCH] Replaced "sa.select" with "sa.Select" in the account_options pseudo property of the IncomeExpenses report. --- src/accounting/report/reports.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/accounting/report/reports.py b/src/accounting/report/reports.py index 31bcec7..72d05bc 100644 --- a/src/accounting/report/reports.py +++ b/src/accounting/report/reports.py @@ -622,7 +622,7 @@ class IncomeExpenses(JournalEntryReport[IncomeExpensesRow]): period=self.period) in_use: set[int] = set(db.session.scalars( - sa.select(JournalEntry.account_id) + sa.Select(JournalEntry.account_id) .join(Account) .filter(JournalEntry.currency_code == self.currency.code, sa.or_(Account.base_code.startswith("11"),