frappe.call({
method: "frappe.client.get_value",
async:false,
args:{
doctype:'User',
filters:{
name:frm.doc.owner
},
fieldname:['full_name']
},
callback:function (r) {
if(r.message != undefined){
console.log(r.message.full_name)
}
}
});
by the above script, you can able fetch Full name of the owner.
I am attaching ScreenShot of the output of the Script.