From b2aa8f869e336494779c6d045103a4f00a297344 Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Wed, 21 Oct 2015 11:00:16 +0530 Subject: [PATCH] [minor] remove slash from get url to link --- frappe/utils/data.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frappe/utils/data.py b/frappe/utils/data.py index 9ad4afdfc7..48b4fcd4f7 100644 --- a/frappe/utils/data.py +++ b/frappe/utils/data.py @@ -547,10 +547,10 @@ def get_link_to_form(doctype, name, label=None): return """{1}""".format(get_url_to_form(doctype, name), label) def get_url_to_form(doctype, name): - return get_url(uri = "desk/#Form/{0}/{1}".format(doctype, name)) + return get_url(uri = "desk#Form/{0}/{1}".format(doctype, name)) def get_url_to_list(doctype): - return get_url(uri = "desk/#List/{0}".format(doctype)) + return get_url(uri = "desk#List/{0}".format(doctype)) operator_map = { # startswith