commit | a89788243496315bf0799671291458eaaefa4aac | [log] [tgz] |
---|---|---|
author | sbkolate <kolate.sambhaji@gmail.com> | Fri Feb 26 19:32:11 2016 +0530 |
committer | sbkolate <kolate.sambhaji@gmail.com> | Fri Feb 26 19:32:11 2016 +0530 |
tree | eda89afaa7adc7f715fc4930ccc7afbd5c89c8b5 | |
parent | 593bfddb74dcb6f5ae6cd4b2aaa12af6a1882700 [diff] |
enable uom in BOM Table View reference https://discuss.erpnext.com/t/uom-in-item-tables/10733/4
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`