patch for renaming project feilds
This commit is contained in:
parent
4cffbe26dc
commit
e7ddb72e7f
@ -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.v5_0.execute_on_doctype_update
|
||||||
erpnext.patches.v4_2.fix_recurring_orders
|
erpnext.patches.v4_2.fix_recurring_orders
|
||||||
erpnext.patches.v4_2.delete_gl_entries_for_cancelled_invoices
|
erpnext.patches.v4_2.delete_gl_entries_for_cancelled_invoices
|
||||||
|
erpnext.patches.v5_0.project_costing
|
||||||
|
6
erpnext/patches/v5_0/project_costing.py
Normal file
6
erpnext/patches/v5_0/project_costing.py
Normal file
@ -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")
|
Loading…
x
Reference in New Issue
Block a user