Hi I am creating a new print format on the Sales Invoice to match my company’s current layout. I am trying to add the customer’s address using Jinja, but it keeps telling me :
{{doc.address}} — {{ no such element: erpnext.accounts.doctype.sales_invoice.sales_invoice.SalesInvoice object[‘address’] }}
I think it’s because it’s not available in the sales invoice, but rather the sales order. There is a field that has “Address”, but doesn’t say how it’s referenced and I don’t to use it as a field, but in jinja.
Any help is appreciated.
Thank you.
JR