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…
i tried this…still i got error…