brotherton-erpnext/patches/february_2013/p02_email_digest.py
2013-02-16 18:45:09 +05:30

4 lines
185 B
Python

import webnotes
def execute():
webnotes.reload_doc("setup", "doctype", "email_digest")
webnotes.conn.sql('update `tabEmail Digest` set calendar_events=1, todo_list=1 where enabled=1')