[fix] key error (#12257)
This commit is contained in:
parent
9579645ae1
commit
15d53c7912
@ -591,7 +591,7 @@ def validate_bom_no(item, bom_no):
|
||||
frappe.throw(_("BOM {0} does not belong to Item {1}").format(bom_no, item))
|
||||
|
||||
@frappe.whitelist()
|
||||
def get_children(doctype, parent=None, is_tree=False):
|
||||
def get_children(doctype, parent=None, is_root=False, **filters):
|
||||
if not parent:
|
||||
frappe.msgprint(_('Please select a BOM'))
|
||||
return
|
||||
|
Loading…
x
Reference in New Issue
Block a user