From c94b8c41f37f17691bd2c4f53c0612abce8f5fb0 Mon Sep 17 00:00:00 2001 From: Smit Vora Date: Fri, 24 Apr 2026 19:32:00 +0530 Subject: [PATCH] chore: comment --- .../financial_report_template/financial_report_engine.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/erpnext/accounts/doctype/financial_report_template/financial_report_engine.py b/erpnext/accounts/doctype/financial_report_template/financial_report_engine.py index 62df853a7fb..ba53d00a37b 100644 --- a/erpnext/accounts/doctype/financial_report_template/financial_report_engine.py +++ b/erpnext/accounts/doctype/financial_report_template/financial_report_engine.py @@ -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