refactored communication and added to Lead / Contact
This commit is contained in:
parent
fe9707a08a
commit
33c8d0d3e2
@ -1,6 +1,7 @@
|
|||||||
import webnotes
|
import webnotes
|
||||||
|
|
||||||
def execute():
|
def execute():
|
||||||
|
webnotes.reload_doc("DocType", "Communication")
|
||||||
webnotes.conn.sql("""update tabCommunication set sender=email_address
|
webnotes.conn.sql("""update tabCommunication set sender=email_address
|
||||||
where ifnull(support_ticket,'') != ''""")
|
where ifnull(support_ticket,'') != ''""")
|
||||||
webnotes.conn.sql("""update tabCommunication set recipients=email_address where
|
webnotes.conn.sql("""update tabCommunication set recipients=email_address where
|
||||||
|
Loading…
Reference in New Issue
Block a user