march.p03 patch fix

This commit is contained in:
Rushabh Mehta 2013-03-11 14:34:05 +05:30
parent b8ec3e7ecb
commit 292479b02d

View File

@ -5,4 +5,5 @@ def execute():
webnotes.conn.sql('''update tabBlogger set posts=(select count(*)
from tabBlog where ifnull(blogger,"")=tabBlogger.name)''')
webnotes.rename_doc("DocType", "Blog", "Blog Post", force=True)
webnotes.conn.reload_doc('website', 'doctype', 'blog_post')
webnotes.conn.sql("""update `tabBlog Post` set published_on=creation""")