From a89788243496315bf0799671291458eaaefa4aac Mon Sep 17 00:00:00 2001 From: sbkolate Date: Fri, 26 Feb 2016 19:32:11 +0530 Subject: [PATCH] enable uom in BOM Table View reference https://discuss.erpnext.com/t/uom-in-item-tables/10733/4 --- erpnext/manufacturing/doctype/bom/bom.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/erpnext/manufacturing/doctype/bom/bom.py b/erpnext/manufacturing/doctype/bom/bom.py index 349c778b541..24a21d96abb 100644 --- a/erpnext/manufacturing/doctype/bom/bom.py +++ b/erpnext/manufacturing/doctype/bom/bom.py @@ -9,6 +9,10 @@ from frappe.model.document import Document 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`