From 67f74414c45ff84a7fce0e1e3854ff5611d84bd3 Mon Sep 17 00:00:00 2001 From: Zarrar Date: Wed, 21 Feb 2018 14:46:41 +0530 Subject: [PATCH] disable expand_all button for BOM (#13015) --- erpnext/manufacturing/doctype/bom/bom_tree.js | 1 + 1 file changed, 1 insertion(+) diff --git a/erpnext/manufacturing/doctype/bom/bom_tree.js b/erpnext/manufacturing/doctype/bom/bom_tree.js index 6cbd7a2ab1..4ec9bef998 100644 --- a/erpnext/manufacturing/doctype/bom/bom_tree.js +++ b/erpnext/manufacturing/doctype/bom/bom_tree.js @@ -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;