brotherton-erpnext/erpnext/patches/v8_0/addresses_linked_to_lead.py

5 lines
131 B
Python
Raw Normal View History

2017-03-30 16:11:07 +00:00
import frappe
def execute():
frappe.db.sql("""UPDATE `tabDynamic Link` SET link_doctype = 'Lead' WHERE link_doctype = 'Load'""")