refactored communication and added to Lead / Contact

This commit is contained in:
Rushabh Mehta 2012-11-27 18:48:43 +05:30
parent 33c8d0d3e2
commit 1a0c61711c

View File

@ -1,7 +1,7 @@
import webnotes
def execute():
webnotes.reload_doc("DocType", "Communication")
webnotes.reload_doc("support", "doctype", "communication")
webnotes.conn.sql("""update tabCommunication set sender=email_address
where ifnull(support_ticket,'') != ''""")
webnotes.conn.sql("""update tabCommunication set recipients=email_address where