i wwant material request name who has requested to that document which is fetch from material request form and want to show in PO format…
i tried this,
frappe.db.get_value(“Material Request”, doc.items[0].material_request, “owner”) but its shows email id of that person…as we need we have to show full name of the requested person…
You can use the get_user_fullname to get the user’s full name from the email_id
i tried this…still i got error…
Can you share what have done so far ?
@suvarna_bhangare @makarand_b frappe.get_fullname(doc.owner)
I think this one is work

