Merge pull request #36450 from cogk/fix-typo-in-query-for-financial-statement-report

fix: Fix query for financial statement report
This commit is contained in:
Deepesh Garg
2023-08-01 23:36:25 +05:30
committed by GitHub

View File

@@ -654,7 +654,7 @@ def set_gl_entries_by_account(
& (gle.posting_date <= to_date)
& (account.lft >= root_lft)
& (account.rgt <= root_rgt)
& (account.root_type <= root_type)
& (account.root_type == root_type)
)
.orderby(gle.account, gle.posting_date)
)