[communication] [minor]

This commit is contained in:
Rushabh Mehta
2013-09-02 18:27:29 +05:30
parent 1f16630360
commit a2d0da8840
4 changed files with 93 additions and 9 deletions

View File

@@ -7,4 +7,9 @@ def execute():
set parenttype=%s, parentfield='communications',
parent=`%s`
where ifnull(`%s`, '')!=''""" % ("%s", fieldname, fieldname), doctype)
webnotes.reload_doc("core", "doctype", "communication")
webnotes.conn.sql("""update tabCommunication set communication_date = creation where
ifnull(communication_date, '')='' """)