disable expand_all button for BOM (#13015)
This commit is contained in:
parent
8a77a0e1e4
commit
67f74414c4
@ -13,6 +13,7 @@ frappe.treeview_settings["BOM"] = {
|
||||
disable_add_node: true,
|
||||
root_label: "BOM", //fieldname from filters
|
||||
get_tree_root: false,
|
||||
show_expand_all: false,
|
||||
get_label: function(node) {
|
||||
if(node.data.qty) {
|
||||
return node.data.qty + " x " + node.data.item_code;
|
||||
|
Loading…
Reference in New Issue
Block a user