[Fix] Addresses linked back to Lead

This commit is contained in:
Revant Nandgaonkar 2017-03-30 21:41:07 +05:30 committed by Nabin Hait
parent e64b75153a
commit d07c041125
2 changed files with 6 additions and 1 deletions

View File

@ -380,4 +380,5 @@ erpnext.patches.v7_2.update_attendance_docstatus
erpnext.patches.v7_2.move_dates_from_salary_structure_to_employee
erpnext.patches.v7_2.make_all_assessment_group
erpnext.patches.v8_0.manufacturer_childtable_migrate
erpnext.patches.v8_0.repost_reserved_qty_for_multiple_sales_uom
erpnext.patches.v8_0.repost_reserved_qty_for_multiple_sales_uom
erpnext.patches.v8_0.addresses_linked_to_lead

View File

@ -0,0 +1,4 @@
import frappe
def execute():
frappe.db.sql("""UPDATE `tabDynamic Link` SET link_doctype = 'Lead' WHERE link_doctype = 'Load'""")