From 4ccc426fec6ef619dc058197b5881b3c0f2d8b4b Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Tue, 21 May 2024 14:44:03 +0530 Subject: [PATCH] fix: correct report name in inner button (backport #41568) (#41572) fix: correct report name in inner button (#41568) Previously, the report name was incorrectly listed as "Cash Flow Statement" instead of "Cash Flow". This mismatch caused the "Cash Flow" report to not open correctly in the chart of accounts tree view, as the report ID is "Cash Flow". (cherry picked from commit d7df2cbdc528ee4121a039480b7aa47a87796499) Co-authored-by: jabir-elat <44110258+jabir-elat@users.noreply.github.com> --- erpnext/accounts/doctype/account/account_tree.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/accounts/doctype/account/account_tree.js b/erpnext/accounts/doctype/account/account_tree.js index 3b939aa3920..49d5396c0f3 100644 --- a/erpnext/accounts/doctype/account/account_tree.js +++ b/erpnext/accounts/doctype/account/account_tree.js @@ -222,7 +222,7 @@ frappe.treeview_settings["Account"] = { "General Ledger", "Balance Sheet", "Profit and Loss Statement", - "Cash Flow Statement", + "Cash Flow", "Accounts Payable", "Accounts Receivable", ]) {