diff --git a/erpnext/accounts/Print Format/SalesInvoice/SalesInvoice.html b/erpnext/accounts/Print Format/SalesInvoice/SalesInvoice.html index 874d84ceb7c..d4a49ef503a 100644 --- a/erpnext/accounts/Print Format/SalesInvoice/SalesInvoice.html +++ b/erpnext/accounts/Print Format/SalesInvoice/SalesInvoice.html @@ -1,5 +1,5 @@ {%- if doc.letter_head -%} - {{ frappe.conn.get_value("Letter Head", doc.letter_head, "content") }} + {{ frappe.db.get_value("Letter Head", doc.letter_head, "content") }} {%- endif -%}