mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-26 18:18:30 +00:00
chore: comment
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user