When triggering the Get Unreconciled Entries there was an error message related to a variable that is not allowed to iterate if the value is None
File “apps/erpnext/erpnext/accounts/utils.py”, line 1172, in get_outstanding_invoices
if not d.voucher_type == “Purchase Invoice” or d.voucher_no not in held_invoices:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: argument of type ‘NoneType’ is not iterable
I think we might need to add default list for held_invoices variable to avoid this Server Error
held_invoices = get_held_invoices(party_type, party) or