fix: coa reset root_type on unchecking is_group on new_node (#48156)
This commit is contained in:
@@ -139,6 +139,11 @@ frappe.treeview_settings["Account"] = {
|
|||||||
description: __(
|
description: __(
|
||||||
"Further accounts can be made under Groups, but entries can be made against non-Groups"
|
"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",
|
fieldtype: "Select",
|
||||||
|
|||||||
Reference in New Issue
Block a user