[comment] [minor] added patch to update

This commit is contained in:
Rushabh Mehta
2013-11-22 12:22:41 +05:30
parent 79c4d7c662
commit bc7358a12e
2 changed files with 9 additions and 0 deletions

View 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()