Merge pull request #4887 from sbkolate/patch-3
enable uom in BOM Table View
diff --git a/erpnext/manufacturing/doctype/bom/bom.py b/erpnext/manufacturing/doctype/bom/bom.py
index 349c778..24a21d9 100644
--- a/erpnext/manufacturing/doctype/bom/bom.py
+++ b/erpnext/manufacturing/doctype/bom/bom.py
@@ -9,6 +9,10 @@
from operator import itemgetter
+form_grid_templates = {
+ "items": "templates/form_grid/item_grid.html"
+}
+
class BOM(Document):
def autoname(self):
last_name = frappe.db.sql("""select max(name) from `tabBOM`