[fix] bom.py, dont use keyword
This commit is contained in:
parent
80d24f83f8
commit
d3a48a83fd
@ -312,7 +312,7 @@ class BOM(WebsiteGenerator):
|
|||||||
li.append("{0} on row {1}".format(i.item_code, i.idx))
|
li.append("{0} on row {1}".format(i.item_code, i.idx))
|
||||||
duplicate_list = '<br>' + '<br>'.join(li)
|
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):
|
def check_recursion(self):
|
||||||
""" Check whether recursion occurs in any bom"""
|
""" Check whether recursion occurs in any bom"""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user