refactored communication and added to Lead / Contact

This commit is contained in:
Rushabh Mehta 2012-11-27 18:45:21 +05:30
parent fe9707a08a
commit 33c8d0d3e2

View File

@ -1,6 +1,7 @@
import webnotes
def execute():
webnotes.reload_doc("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