Update erpnext/production/doctype/bill_of_materials/bill_of_materials.py
This commit is contained in:
parent
cab5b31ffa
commit
8569b7400a
@ -268,7 +268,7 @@ class DocType:
|
||||
|
||||
def check_if_item_repeated(self, item, op, check_list):
|
||||
if [cstr(item), cstr(op)] in check_list:
|
||||
msgprint("Item %s has been entered twice against same operation" % d.item_code, raise_exception = 1)
|
||||
msgprint("Item %s has been entered twice against same operation" % item, raise_exception = 1)
|
||||
else:
|
||||
check_list.append([cstr(item), cstr(op)])
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user