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

6 lines
171 B
Python
Raw Normal View History

from __future__ import unicode_literals
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'""")