Payment Entry Error

Hello,
While using Payment Entry for entering a payment after selecting Party Type as Customer, when I click on the Party field it throws up this error. I have user permission setting configured for Customer Group.

Traceback (most recent call last):
File “/home/frappe/frappe-bench/apps/frappe/frappe/app.py”, line 56, in application
response = frappe.handler.handle()
File “/home/frappe/frappe-bench/apps/frappe/frappe/handler.py”, line 19, in handle
execute_cmd(cmd)
File “/home/frappe/frappe-bench/apps/frappe/frappe/handler.py”, line 42, in execute_cmd
ret = frappe.call(method, **frappe.form_dict)
File “/home/frappe/frappe-bench/apps/frappe/frappe/init.py”, line 907, in call
return fn(*args, **newargs)
File “/home/frappe/frappe-bench/apps/frappe/frappe/desk/search.py”, line 12, in search_link
search_widget(doctype, txt, query, searchfield=searchfield, page_len=page_len, filters=filters)
File “/home/frappe/frappe-bench/apps/frappe/frappe/desk/search.py”, line 38, in search_widget
searchfield, start, page_len, filters)
File “/home/frappe/frappe-bench/apps/frappe/frappe/desk/search.py”, line 34, in search_widget
searchfield, start, page_len, filters, as_dict=as_dict)
File “/home/frappe/frappe-bench/apps/frappe/frappe/init.py”, line 907, in call
return fn(*args, **newargs)
File “/home/frappe/frappe-bench/apps/erpnext/erpnext/selling/doctype/customer/customer.py”, line 163, in get_customer_list
(“%%%s%%” % txt, “%%%s%%” % txt, “%%%s%%” % txt, “%%%s%%” % txt, start, page_len))
File “/home/frappe/frappe-bench/apps/frappe/frappe/database.py”, line 138, in sql
self._cursor.execute(query, values)
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/MySQLdb/cursors.py”, line 187, in execute
query = query % tuple([db.literal(item) for item in args])
TypeError: float argument required, not str

@keshav, can not replicate can you share the permissions set on the Customer Group ?

Here is the screenshot for Customer Group permissions

Here is also the permission applied on Customer

@makarand_b
I have a Customer Group named as “D 35% Group” which has a few customers tagged to it.
Wondering if the % character in the group name could be the cause of the error?