From 2794736d5dc100395ff2ea77b91e4f3cbf092c13 Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Sat, 16 Feb 2013 18:44:40 +0530 Subject: [PATCH 1/2] email digest patch --- patches/patch_list.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patches/patch_list.py b/patches/patch_list.py index 397ec8bbfc..472360ed1a 100644 --- a/patches/patch_list.py +++ b/patches/patch_list.py @@ -172,5 +172,5 @@ patch_list = [ "patches.february_2013.fix_outstanding", "patches.february_2013.p01_event", "execute:webnotes.delete_doc('Page', 'Calendar')", - "execute:webnotes.conn.sql('update `tabEmail Digest` set calendar_events=1, todo_list=1 where enabled=1')" + "patches.february_2013.p02_email_digest", ] \ No newline at end of file From a3acd57654b1f9851e1a2ccd3128af270c720092 Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Sat, 16 Feb 2013 18:45:09 +0530 Subject: [PATCH 2/2] email digest patch --- patches/february_2013/p02_email_digest.py | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 patches/february_2013/p02_email_digest.py diff --git a/patches/february_2013/p02_email_digest.py b/patches/february_2013/p02_email_digest.py new file mode 100644 index 0000000000..375387408f --- /dev/null +++ b/patches/february_2013/p02_email_digest.py @@ -0,0 +1,4 @@ +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') \ No newline at end of file