Virtual Fields Not Showing Value When Getting Fetched From Different Document After Getting Saved

I just fetched the doc through fappe.db.get_doc() and whatever fields I needed of that doc in my current frm, just putting that.

linked_doc = frappe.db.get_doc(‘Doctype’, docname)

onload(frm)
{
frm.doc.field = linked_doc.field
}