Fetching Address and Contacts to Another Doctype

Hi Team,
May you guide me on how to fetch Address and Contact of Customer, and map them to another doctype in erpnext. Note that The doctype does not have child doctype, address have to get mapped from Quotation to customized doctype named Cover Note.I have tried to use add_fetch( ) and frappe.db.get_value( ),within refresh function of the doctype with no avail.I am a newbie in this,How to go about solving this issue.
Much appreciated!

These examples should help-

and this -

The above link is not working


1 Like