Skip to content

Commit c94b8c4

Browse files
committed
chore: comment
1 parent 7ae91ca commit c94b8c4

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

erpnext/accounts/doctype/financial_report_template/financial_report_engine.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -623,6 +623,8 @@ def _get_gl_movements(self, account_names: list[str]) -> list[dict]:
623623
"Accounts Settings", "ignore_is_opening_check_for_reporting"
624624
)
625625
if self.ignore_opening_entries and not ignore_is_opening:
626+
# This filter here applies to all accounts (BS & PL)
627+
# However, in legacy query, this filter only applies to BS accounts
626628
query = query.where(gl_table.is_opening == "No")
627629

628630
# Add period-specific columns

0 commit comments

Comments
 (0)