mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-27 18:48:31 +00:00
Merge pull request #4887 from sbkolate/patch-3
enable uom in BOM Table View
This commit is contained in:
@@ -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`
|
||||
|
||||
Reference in New Issue
Block a user