Merge pull request #10742 from kennethsequeira/comment

fix: Comment link sent in email
This commit is contained in:
mergify[bot] 2020-06-19 11:37:38 +00:00 committed by GitHub
commit 71d25dece1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -34,7 +34,7 @@ def add_comment(comment, comment_email, comment_by, reference_doctype, reference
clear_cache(route)
content = (comment.content
+ "<p><a href='{0}/desk/#Form/Comment/{1}' style='font-size: 80%'>{2}</a></p>".format(frappe.utils.get_request_site_address(),
+ "<p><a href='{0}/desk#Form/Comment/{1}' style='font-size: 80%'>{2}</a></p>".format(frappe.utils.get_request_site_address(),
comment.name,
_("View Comment")))