brotherton-erpnext/erpnext/templates/pages/timelog_info.py

10 lines
153 B
Python
Raw Normal View History

import frappe
def get_context(context):
context.no_cache = 1
2022-03-28 13:22:46 +00:00
timelog = frappe.get_doc("Time Log", frappe.form_dict.timelog)
context.doc = timelog