mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-07 07:02:54 +00:00
7 lines
192 B
Python
7 lines
192 B
Python
import frappe
|
|
|
|
def execute():
|
|
frappe.reload_doctype("Contact")
|
|
frappe.db.sql("""update tabContact, tabUser set tabContact.user = tabUser.name
|
|
where tabContact.email_id = tabUser.email""")
|