From 46759210772387437ab5d1df6d02adadbbd0214c Mon Sep 17 00:00:00 2001 From: Smit Vora Date: Fri, 24 Apr 2026 19:32:00 +0530 Subject: [PATCH] chore: comment (cherry picked from commit c94b8c41f37f17691bd2c4f53c0612abce8f5fb0) --- .../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 eb94ab7f4b8..c24156d6c2c 100644 --- a/erpnext/accounts/doctype/financial_report_template/financial_report_engine.py +++ b/erpnext/accounts/doctype/financial_report_template/financial_report_engine.py @@ -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