diff --git a/erpnext/patches/v5_0/project_costing.py b/erpnext/patches/v5_0/project_costing.py index ffeb396a661..33bb9c16305 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