[minor] remove slash from get url to link
This commit is contained in:
parent
501a8e6746
commit
b2aa8f869e
1 changed files with 2 additions and 2 deletions
|
|
@ -547,10 +547,10 @@ def get_link_to_form(doctype, name, label=None):
|
|||
return """<a href="{0}">{1}</a>""".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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue