brotherton-erpnext/erpnext/patches/v5_0/project_costing.py

7 lines
300 B
Python
Raw Normal View History

2015-04-15 12:51:53 +00:00
import frappe
def execute():
2015-04-20 06:17:22 +00:00
frappe.reload_doctype("Project")
2015-04-15 12:51:53 +00:00
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")