[fix] bom.py, dont use keyword

This commit is contained in:
Rushabh Mehta 2017-09-29 15:50:17 +05:30
parent 80d24f83f8
commit d3a48a83fd

View File

@ -312,7 +312,7 @@ class BOM(WebsiteGenerator):
li.append("{0} on row {1}".format(i.item_code, i.idx))
duplicate_list = '<br>' + '<br>'.join(li)
frappe.throw(_("Same item has been entered multiple times. {list}").format(list=duplicate_list))
frappe.throw(_("Same item has been entered multiple times. {0}").format(duplicate_list))
def check_recursion(self):
""" Check whether recursion occurs in any bom"""