Skip to content

Commit

Permalink
Merge pull request #36454 from frappe/mergify/bp/version-14-hotfix/pr…
Browse files Browse the repository at this point in the history
…-36450

fix: Fix query for financial statement report (backport #36450)
  • Loading branch information
deepeshgarg007 committed Aug 1, 2023
2 parents e8f24b8 + d1590f2 commit fb32120
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -659,7 +659,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)
)
Expand Down

0 comments on commit fb32120

Please sign in to comment.