Hi All,
Recently updated ( two days ago ) to the latest version of Frappe and ERPNext
Since then, our users are having a problem with any list view in ERPNext. It doesn’t matter what module we’re in. If we use any kind of filtering, the error popup shows up. The funny thing is that sometimes the filtering works anyway, other times it doesn’t.
For example, if I go to “Buying>Purchase order” I get this popup immediately.
If I clear all filters and search fields and then refresh the page, no error occurs.
to be clear this occurs wherever there is a list view, not just purchase orders.
Below is the traceback that is showing up.
Traceback (most recent call last):
File "/home/recharger/frappe-bench/apps/frappe/frappe/app.py", line 64, in application
response = frappe.api.handle()
File "/home/recharger/frappe-bench/apps/frappe/frappe/api.py", line 59, in handle
return frappe.handler.handle()
File "/home/recharger/frappe-bench/apps/frappe/frappe/handler.py", line 24, in handle
data = execute_cmd(cmd)
File "/home/recharger/frappe-bench/apps/frappe/frappe/handler.py", line 63, in execute_cmd
return frappe.call(method, **frappe.form_dict)
File "/home/recharger/frappe-bench/apps/frappe/frappe/__init__.py", line 1055, in call
return fn(*args, **newargs)
File "/home/recharger/frappe-bench/apps/frappe/frappe/client.py", line 39, in get_count
return frappe.db.count(doctype, get_safe_filters(filters), debug, cache)
File "/home/recharger/frappe-bench/apps/frappe/frappe/database/database.py", line 808, in count
conditions, filters = self.build_conditions(filters)
File "/home/recharger/frappe-bench/apps/frappe/frappe/database/database.py", line 365, in build_conditions
_build_condition(f)
File "/home/recharger/frappe-bench/apps/frappe/frappe/database/database.py", line 327, in _build_condition
_rhs = " %(" + key + ")s"
TypeError: must be str, not list
I’m not versed well enough in Python to understand the way to fix this and would love to get some of the community’s help.
Thanks in advance