[minor] [fix] communication status patch
This commit is contained in:
parent
9dda0fb63b
commit
3ab6a65743
@ -5,5 +5,7 @@ from __future__ import unicode_literals
|
|||||||
import webnotes
|
import webnotes
|
||||||
|
|
||||||
def execute():
|
def execute():
|
||||||
|
webnotes.reload_doc("core", "doctype", "communication")
|
||||||
|
|
||||||
webnotes.conn.sql("""update tabCommunication
|
webnotes.conn.sql("""update tabCommunication
|
||||||
set sent_or_received= if(ifnull(recipients, '')='', "Received", "Sent")""")
|
set sent_or_received= if(ifnull(recipients, '')='', "Received", "Sent")""")
|
||||||
Loading…
x
Reference in New Issue
Block a user