fix: travis failing (#24211)
This commit is contained in:
parent
327f03566a
commit
0917c1ec7c
@ -204,6 +204,8 @@ def get_already_returned_items(doc):
|
||||
return items
|
||||
|
||||
def get_returned_qty_map_for_row(row_name, doctype):
|
||||
if doctype == "POS Invoice": return {}
|
||||
|
||||
child_doctype = doctype + " Item"
|
||||
reference_field = "dn_detail" if doctype == "Delivery Note" else frappe.scrub(child_doctype)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user