From c19afa140d93e349cdc786e85abbc2fdddef54e6 Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Wed, 16 Sep 2015 12:43:52 +0530 Subject: [PATCH] [fix] reload time log in update projects patch --- erpnext/patches/v5_0/update_projects.py | 1 + 1 file changed, 1 insertion(+) diff --git a/erpnext/patches/v5_0/update_projects.py b/erpnext/patches/v5_0/update_projects.py index e234246623..6214927654 100644 --- a/erpnext/patches/v5_0/update_projects.py +++ b/erpnext/patches/v5_0/update_projects.py @@ -6,6 +6,7 @@ def execute(): frappe.reload_doc("projects", "doctype", "project_task") frappe.reload_doctype("Task") frappe.reload_doc("projects", "doctype", "task_depends_on") + frappe.reload_doc("projects", "doctype", "time_log") for m in frappe.get_all("Project Milestone", "*"): if (m.milestone and m.milestone_date