Actually I am trying to create a Proforma Invoice in Delivery Note doctype
but there are some field which are not in delivery note , so I want to get them from sales invoice
I used frappe.db.get_value(“[doctype]”, “[name]”, “fieldname”) this too but throwing wrong values can any one please help me to understand this command
{{ doc.contact_person }}
use this format for fetching value
doctype mention in present before in print format page, you don’t need to specify the doctype