From 606dcb0ad19bb0a2d0078b53afaec28f617f615c Mon Sep 17 00:00:00 2001 From: Sanket Shah <113279972+Sanket322@users.noreply.github.com> Date: Thu, 6 Mar 2025 17:20:12 +0530 Subject: [PATCH] fix: change fieldname for cash_flow to export (#46353) fix: change fieldname for cash_flow Co-authored-by: Sanket322 --- erpnext/accounts/report/financial_statements.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/accounts/report/financial_statements.py b/erpnext/accounts/report/financial_statements.py index 2ff6f589509..faa65fb425e 100644 --- a/erpnext/accounts/report/financial_statements.py +++ b/erpnext/accounts/report/financial_statements.py @@ -630,7 +630,7 @@ def get_cost_centers_with_children(cost_centers): def get_columns(periodicity, period_list, accumulated_values=1, company=None, cash_flow=False): columns = [ { - "fieldname": "account", + "fieldname": "account" if not cash_flow else "section", "label": _("Account") if not cash_flow else _("Section"), "fieldtype": "Link", "options": "Account",