Error when using project name

Hi all…

i get an error each time i click on project name in sales order as the following
Traceback (innermost last):
File “/home/frappe/frappe-bench/apps/frappe/frappe/app.py”, line 57, 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 36, in execute_cmd
ret = frappe.call(method, **frappe.form_dict)
File “/home/frappe/frappe-bench/apps/frappe/frappe/init.py”, line 803, in call
return fn(*args, **newargs)
File “/home/frappe/frappe-bench/apps/frappe/frappe/desk/search.py”, line 13, 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 35, in search_widget
searchfield, start, page_len, filters)
File “/home/frappe/frappe-bench/apps/erpnext/erpnext/controllers/queries.py”, line 235, in get_project_name
“_txt”: txt.relace(‘%’, ‘’)
AttributeError: ‘unicode’ object has no attribute ‘relace’

Hi, can you run an update? That should fix it.

I think there is some mistake in code syntax. In queries.py file in get_project_name method you write relace. i think it replace instead of relace. Please check…

I actually didn’t change any thing, this is a fresh installation since 3 days I am changing only forms design before implementation… @priya_s