2019-01-22 12:52:20 +00:00
|
|
|
from __future__ import unicode_literals
|
2015-10-07 05:37:43 +00:00
|
|
|
import frappe
|
|
|
|
|
|
|
|
def execute():
|
2015-10-07 09:00:19 +00:00
|
|
|
frappe.reload_doctype("Contact")
|
2015-10-07 05:37:43 +00:00
|
|
|
frappe.db.sql("""update tabContact, tabUser set tabContact.user = tabUser.name
|
|
|
|
where tabContact.email_id = tabUser.email""")
|