diff --git a/patches/october_2013/p02_set_communication_status.py b/patches/october_2013/p02_set_communication_status.py index 8360fe6ceeb..d67d08dbe0a 100644 --- a/patches/october_2013/p02_set_communication_status.py +++ b/patches/october_2013/p02_set_communication_status.py @@ -5,5 +5,7 @@ from __future__ import unicode_literals import webnotes def execute(): + webnotes.reload_doc("core", "doctype", "communication") + webnotes.conn.sql("""update tabCommunication set sent_or_received= if(ifnull(recipients, '')='', "Received", "Sent")""") \ No newline at end of file