enable uom in BOM Table View
reference https://discuss.erpnext.com/t/uom-in-item-tables/10733/4
This commit is contained in:
parent
593bfddb74
commit
a897882434
@ -9,6 +9,10 @@ from frappe.model.document import Document
|
|||||||
|
|
||||||
from operator import itemgetter
|
from operator import itemgetter
|
||||||
|
|
||||||
|
form_grid_templates = {
|
||||||
|
"items": "templates/form_grid/item_grid.html"
|
||||||
|
}
|
||||||
|
|
||||||
class BOM(Document):
|
class BOM(Document):
|
||||||
def autoname(self):
|
def autoname(self):
|
||||||
last_name = frappe.db.sql("""select max(name) from `tabBOM`
|
last_name = frappe.db.sql("""select max(name) from `tabBOM`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user