fix: add child button in coa tree (#28413)
This commit is contained in:
parent
624e58d1de
commit
3a2074ce05
@ -176,7 +176,7 @@ frappe.treeview_settings["Account"] = {
|
||||
&& node.expandable && !node.hide_add;
|
||||
},
|
||||
click: function() {
|
||||
var me = frappe.treeview_settings['Account'].treeview;
|
||||
var me = frappe.views.trees['Account'];
|
||||
me.new_node();
|
||||
},
|
||||
btnClass: "hidden-xs"
|
||||
|
Loading…
x
Reference in New Issue
Block a user