Merge branch 'wsgi' of github.com:webnotes/erpnext into wsgi

This commit is contained in:
Rushabh Mehta
2013-10-04 13:33:45 +05:30
2 changed files with 69 additions and 67 deletions

View File

@@ -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")""")