chore: comment

(cherry picked from commit c94b8c41f3)
This commit is contained in:
Smit Vora
2026-04-24 19:32:00 +05:30
committed by Mergify
parent d51ce66cb2
commit 4675921077

View File

@@ -627,6 +627,8 @@ class FinancialQueryBuilder:
"Accounts Settings", "ignore_is_opening_check_for_reporting"
)
if self.ignore_opening_entries and not ignore_is_opening:
# This filter here applies to all accounts (BS & PL)
# However, in legacy query, this filter only applies to BS accounts
query = query.where(gl_table.is_opening == "No")
# Add period-specific columns