added new calendar and renamed holiday block list

This commit is contained in:
Rushabh Mehta
2013-02-14 17:34:51 +05:30
parent ffb1e0c096
commit 5eb37647cf
56 changed files with 169 additions and 1175 deletions

View File

@@ -0,0 +1,14 @@
import webnotes
def execute():
webnotes.reload_doc("core", "doctype", "event")
webnotes.conn.sql("""update tabEvent set subject=description""")
webnotes.conn.sql("""update tabEvent set description = concat(description, "\n", notes)
where ifnull(notes,"") != "" """)
webnotes.conn.sql("""update tabEvent set starts_on = timestamp(event_date, event_hour)""")
webnotes.conn.sql("""update tabEvent set ends_on = timestampadd(hour, 1, starts_on)""")