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/”, line 57, in application
response = frappe.handler.handle()
File “/home/frappe/frappe-bench/apps/frappe/frappe/”, line 19, in handle
File “/home/frappe/frappe-bench/apps/frappe/frappe/”, line 36, in execute_cmd
ret =, **frappe.form_dict)
File “/home/frappe/frappe-bench/apps/frappe/frappe/”, line 803, in call
return fn(*args, **newargs)
File “/home/frappe/frappe-bench/apps/frappe/frappe/desk/”, 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/”, line 35, in search_widget
searchfield, start, page_len, filters)
File “/home/frappe/frappe-bench/apps/erpnext/erpnext/controllers/”, 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 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