Sales Payment Summary report error


encountering the error below while trying to view the Sales Payment Summary report:

Traceback (most recent call last):
  File "/home/frappe/demo-bench/apps/frappe/frappe/", line 62, in application
    response = frappe.handler.handle()
  File "/home/frappe/demo-bench/apps/frappe/frappe/", line 22, in handle
    data = execute_cmd(cmd)
  File "/home/frappe/demo-bench/apps/frappe/frappe/", line 53, in execute_cmd
    return, **frappe.form_dict)
  File "/home/frappe/demo-bench/apps/frappe/frappe/", line 939, in call
    return fn(*args, **newargs)
  File "/home/frappe/demo-bench/apps/frappe/frappe/desk/", line 96, in run
    res = frappe.get_attr(method_name)(frappe._dict(filters))
  File "/home/frappe/demo-bench/apps/erpnext/erpnext/accounts/report/sales_payment_summary/", line 11, in execute
    data=get_sales_payment_data(filters, columns)
  File "/home/frappe/demo-bench/apps/erpnext/erpnext/accounts/report/sales_payment_summary/", line 31, in get_sales_payment_data
    row = [inv.posting_date, inv.owner,", ".join(mode_of_payments.get(mode_of_payment, [])),
TypeError: sequence item 0: expected string or Unicode, NoneType found

Is this a bug?


Yes this would be fixed in the latest update.