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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
153 B
Python
Raw Normal View History

import frappe
def get_context(context):
context.no_cache = 1
timelog = frappe.get_doc("Time Log", frappe.form_dict.timelog)
context.doc = timelog