[comment] [minor] added patch to update
This commit is contained in:
parent
79c4d7c662
commit
bc7358a12e
8
patches/1311/p04_update_comments.py
Normal file
8
patches/1311/p04_update_comments.py
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors
|
||||||
|
# License: GNU General Public License v3. See license.txt
|
||||||
|
|
||||||
|
def execute():
|
||||||
|
import webnotes
|
||||||
|
for name in webnotes.conn.sql_list("""select name from tabComment"""):
|
||||||
|
webnotes.get_obj("Comment", name).update_comment_in_doc()
|
||||||
|
|
@ -250,4 +250,5 @@ patch_list = [
|
|||||||
"execute:webnotes.reload_doc('website', 'doctype', 'website_sitemap') #2013-11-20",
|
"execute:webnotes.reload_doc('website', 'doctype', 'website_sitemap') #2013-11-20",
|
||||||
"execute:webnotes.bean('Style Settings').save() #2013-11-20",
|
"execute:webnotes.bean('Style Settings').save() #2013-11-20",
|
||||||
"execute:webnotes.get_module('website.doctype.website_sitemap_config.website_sitemap_config').rebuild_website_sitemap_config()",
|
"execute:webnotes.get_module('website.doctype.website_sitemap_config.website_sitemap_config').rebuild_website_sitemap_config()",
|
||||||
|
"patches.1311.p04_update_comments",
|
||||||
]
|
]
|
Loading…
x
Reference in New Issue
Block a user