8 lines
		
	
	
		
			312 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
		
			312 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| import webnotes
 | |
| 
 | |
| def execute():
 | |
| 	webnotes.reload_doc("core", "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
 | |
| 		ifnull(sender,'')=''""") |