From 086c0463be75cd65ed5c4d5a8bb6d8fc75670800 Mon Sep 17 00:00:00 2001 From: Neil Trini Lasrado Date: Mon, 20 Apr 2015 11:47:22 +0530 Subject: [PATCH] Fixes in Patch --- erpnext/patches/v5_0/project_costing.py | 1 + 1 file changed, 1 insertion(+) diff --git a/erpnext/patches/v5_0/project_costing.py b/erpnext/patches/v5_0/project_costing.py index ffeb396a66..33bb9c1630 100644 --- a/erpnext/patches/v5_0/project_costing.py +++ b/erpnext/patches/v5_0/project_costing.py @@ -1,6 +1,7 @@ import frappe def execute(): + frappe.reload_doctype("Project") frappe.db.sql("update `tabProject` set expected_start_date = project_start_date, \ expected_end_date = completion_date, actual_end_date = act_completion_date, \ estimated_costing = project_value, gross_margin = gross_margin_value") \ No newline at end of file