I’m trying to get the Supplier’s Address in “Request for Quotation” Print Format. So far I was only able to get the Supplier name only when trying to Print PDFs for Individual Suppliers (When there are multiple Suppliers in an RFQ).
Things that I’ve tried;
- Drag and Drop “Supplier” Field from normal Print Format (Only displays the name of the Supplier).
- Custom HTML,
{% set address = frappe.db.get_value("Supplier", doc.supplier, "primary_address") %}
<p><strong>Supplier Address:</strong> {{ address or "Not Available" }}</p>
Displays the last updated Supplier from the Supplier DocType, (doesn’t relate to the RFQ).
Current Print Format Result below