fix: Set link title in PDF

Co-authored-by: Saqib Ansari <nextchamp.saqib@gmail.com>
This commit is contained in:
Suraj Shetty 2023-03-15 14:14:41 +05:30
parent 1f01eccb9b
commit 09ea38e96f

View file

@ -40,6 +40,8 @@ def get_context(context):
else:
doc = frappe.get_doc(frappe.form_dict.doctype, frappe.form_dict.name)
set_link_titles(doc)
settings = frappe.parse_json(frappe.form_dict.settings)
letterhead = frappe.form_dict.letterhead or None