mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-28 09:24:45 +00:00
feat: add Account Category field to Account (Chart of Accounts) (#50766)
This commit is contained in:
@@ -160,6 +160,14 @@ frappe.treeview_settings["Account"] = {
|
|||||||
.options,
|
.options,
|
||||||
description: __("Optional. This setting will be used to filter in various transactions."),
|
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",
|
fieldtype: "Float",
|
||||||
fieldname: "tax_rate",
|
fieldname: "tax_rate",
|
||||||
|
|||||||
Reference in New Issue
Block a user