Include only weblink in Email

Hi

I am wanting to have only the Weblink for a doc in the email that is sent.
But I do not want the doc to be attached.

So far I have modified the settings …
System Settings … “Include weblink in email”
Send email setting … “Attach document Print”

When I have both ticked , then the Weblink is added. IF I tick only the “Weblink” setting but leave the “Attach doc” unticked then nothing is sent. Just the “Message”.

Anyone perhaps have advise ?

Update:
I decided to put in my own link and after some searching I settled for adding this link
to an Email template

<a href="{{frappe.get_url()}}/app/{{ doctype | replace(' ', '-') | lower }}/{{name}}?key={{frappe.get_doc(doctype, name).get_signature()}}">View Document</a>

I thought it good to share if it can help someone else

2 Likes