brotherton-erpnext/patches/february_2013/p02_email_digest.py

7 lines
316 B
Python
Raw Normal View History

2013-11-20 07:29:58 +00:00
# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors
# License: GNU General Public License v3. See license.txt
2013-02-16 13:15:09 +00:00
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')