fix: Fix query for financial statement report
(cherry picked from commit bd3fc7c434)
This commit is contained in:
@@ -659,7 +659,7 @@ def set_gl_entries_by_account(
|
|||||||
& (gle.posting_date <= to_date)
|
& (gle.posting_date <= to_date)
|
||||||
& (account.lft >= root_lft)
|
& (account.lft >= root_lft)
|
||||||
& (account.rgt <= root_rgt)
|
& (account.rgt <= root_rgt)
|
||||||
& (account.root_type <= root_type)
|
& (account.root_type == root_type)
|
||||||
)
|
)
|
||||||
.orderby(gle.account, gle.posting_date)
|
.orderby(gle.account, gle.posting_date)
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user