mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-04 22:18:27 +00:00
refactored communication and added to Lead / Contact
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user