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