From 355aa52cb8e137ecff822d025401c649c0788570 Mon Sep 17 00:00:00 2001 From: Aadhil <36843795+aadhilpm@users.noreply.github.com> Date: Thu, 27 Nov 2025 16:10:20 +0300 Subject: [PATCH] feat: add Account Category field to Account (Chart of Accounts) (#50766) --- erpnext/accounts/doctype/account/account_tree.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/erpnext/accounts/doctype/account/account_tree.js b/erpnext/accounts/doctype/account/account_tree.js index 73bba325127..804cb473305 100644 --- a/erpnext/accounts/doctype/account/account_tree.js +++ b/erpnext/accounts/doctype/account/account_tree.js @@ -160,6 +160,14 @@ frappe.treeview_settings["Account"] = { .options, description: __("Optional. This setting will be used to filter in various transactions."), }, + { + fieldtype: "Link", + fieldname: "account_category", + label: __("Account Category"), + options: frappe.get_meta("Account").fields.filter((d) => d.fieldname == "account_category")[0] + .options, + description: __("Optional. Used with Financial Report Template"), + }, { fieldtype: "Float", fieldname: "tax_rate",