ERPNext Conference 2019* Blog

Want to show name on purchase order who make it


can you send the screenshot


that custom script method will automatically fetch the user name of whoever is creating the PO.
and other way is you change the field “created by” fieldType to “Link” and link with employee doctype and set user permission to all employees so whoever is creating the PO he can select his name in Created By field as he will not be able to see other employee in the list if you set the user permission


In print format just use this: {{ frappe.get_fullname(doc.owner) }}

Thats it. Hope you are able to do this.



Can you please explain with a short video?


It is showing a message:-


It is because you are logged in with administrator user… please login with any other user