ERPNext Foundation ERPNext Cloud User Manual Blog Discuss Frappé* Donate

Get current user email on template


#1

How can I get current user email on my quotation print template?

Like {{ frappe.session.user_email }}


#2

Solved.

{{ frappe.db.get_value("User",{"name":frappe.session.user}, "email") }}