brotherton-erpnext/erpnext/patches/v8_0/addresses_linked_to_lead.py
2017-03-30 23:14:58 +05:30

5 lines
131 B
Python

import frappe
def execute():
frappe.db.sql("""UPDATE `tabDynamic Link` SET link_doctype = 'Lead' WHERE link_doctype = 'Load'""")