fix: coa reset root_type on unchecking is_group on new_node (#48156)

This commit is contained in:
Diptanil Saha
2025-06-19 17:47:28 +05:30
committed by GitHub
parent f154c70289
commit 2f8893439f

View File

@@ -139,6 +139,11 @@ frappe.treeview_settings["Account"] = {
description: __(
"Further accounts can be made under Groups, but entries can be made against non-Groups"
),
onchange: function () {
if (!this.value) {
this.layout.set_value("root_type", "");
}
},
},
{
fieldtype: "Select",