chore: comment

This commit is contained in:
Smit Vora
2026-04-24 19:32:00 +05:30
parent 7ae91cac01
commit c94b8c41f3

View File

@@ -623,6 +623,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