refactored communication and added to Lead / Contact

This commit is contained in:
Rushabh Mehta 2012-11-27 18:41:42 +05:30
parent 80127bfb6a
commit e1a433812f

View File

@ -0,0 +1,7 @@
import webnotes
def execute():
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,'')=''""")