From e69c7225342c8db4653aefae99e043c5f9af4e14 Mon Sep 17 00:00:00 2001 From: Florian HENRY Date: Fri, 7 Mar 2025 12:29:51 +0100 Subject: [PATCH] feat(accounting): allow chart_of_account.get_chart to be whilelist (cherry picked from commit 49dcd96909fa3c1c5c4978d3e5ce0dd24f05cc99) --- .../doctype/account/chart_of_accounts/chart_of_accounts.py | 1 + 1 file changed, 1 insertion(+) diff --git a/erpnext/accounts/doctype/account/chart_of_accounts/chart_of_accounts.py b/erpnext/accounts/doctype/account/chart_of_accounts/chart_of_accounts.py index 2768f321ff6..1c81f07cee3 100644 --- a/erpnext/accounts/doctype/account/chart_of_accounts/chart_of_accounts.py +++ b/erpnext/accounts/doctype/account/chart_of_accounts/chart_of_accounts.py @@ -116,6 +116,7 @@ def identify_is_group(child): return is_group +@frappe.whitelist() def get_chart(chart_template, existing_company=None): chart = {} if existing_company: