2012-11-27 13:11:42 +00:00
|
|
|
import webnotes
|
|
|
|
|
|
|
|
def execute():
|
2012-11-30 15:09:55 +00:00
|
|
|
webnotes.reload_doc("core", "doctype", "communication")
|
2012-11-27 13:11:42 +00:00
|
|
|
webnotes.conn.sql("""update tabCommunication set sender=email_address
|
|
|
|
where ifnull(support_ticket,'') != ''""")
|
|
|
|
webnotes.conn.sql("""update tabCommunication set recipients=email_address where
|
|
|
|
ifnull(sender,'')=''""")
|