diff --git a/erpnext/patches.txt b/erpnext/patches.txt index 0e0fda9311..0665df4ab1 100644 --- a/erpnext/patches.txt +++ b/erpnext/patches.txt @@ -143,3 +143,4 @@ execute:frappe.permissions.reset_perms("Expense Claim Type") #2014-06-19 erpnext.patches.v5_0.execute_on_doctype_update erpnext.patches.v4_2.fix_recurring_orders erpnext.patches.v4_2.delete_gl_entries_for_cancelled_invoices +erpnext.patches.v5_0.project_costing diff --git a/erpnext/patches/v5_0/project_costing.py b/erpnext/patches/v5_0/project_costing.py new file mode 100644 index 0000000000..ffeb396a66 --- /dev/null +++ b/erpnext/patches/v5_0/project_costing.py @@ -0,0 +1,6 @@ +import frappe + +def execute(): + 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