fix: Fix query for financial statement report

This commit is contained in:
Corentin Flr
2023-08-01 14:35:11 +02:00
committed by GitHub
parent ab933df5bb
commit bd3fc7c434

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)
)