Cannot Generate Cash Flow

@anand @nabinhait I upgraded erpnext today and check cash flow but there is an error

raceback (innermost last):
  File "/home/deploy/frappe-bench/apps/frappe/frappe/app.py", line 69, in application
    response = frappe.handler.handle()
  File "/home/deploy/frappe-bench/apps/frappe/frappe/handler.py", line 77, in handle
    execute_cmd(cmd)
  File "/home/deploy/frappe-bench/apps/frappe/frappe/handler.py", line 94, in execute_cmd
    ret = frappe.call(method, **frappe.form_dict)
  File "/home/deploy/frappe-bench/apps/frappe/frappe/__init__.py", line 788, in call
    return fn(*args, **newargs)
  File "/home/deploy/frappe-bench/apps/frappe/frappe/desk/query_report.py", line 91, in run
    result = get_filtered_data(report.ref_doctype, columns, result)
  File "/home/deploy/frappe-bench/apps/frappe/frappe/desk/query_report.py", line 146, in get_filtered_data
    match_filters_per_doctype = get_user_match_filters(linked_doctypes, ref_doctype)
  File "/home/deploy/frappe-bench/apps/frappe/frappe/desk/query_report.py", line 291, in get_user_match_filters
    filter_list = frappe.desk.reportview.build_match_conditions(dt, False)
  File "/home/deploy/frappe-bench/apps/frappe/frappe/desk/reportview.py", line 183, in build_match_conditions
    return (DatabaseQuery(doctype).build_match_conditions(as_condition=as_condition)).replace("%", "%%")
 AttributeError: 'list' object has no attribute 'replace'
 Report this issue

Any idea what causing this?

Fixing it.

Best,
Anand Doshi

ERPNext

@ccfiel Fixed! Thanks a lot for reporting this. Just update again and it should start working.

1 Like

@anand wow! that was fast. Thanks!