[fix] key error (#12257)

This commit is contained in:
Saurabh 2018-01-01 16:17:14 +05:30 committed by Nabin Hait
parent 9579645ae1
commit 15d53c7912

View File

@ -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