[comment] fix creation, deltion, close #131

This commit is contained in:
Rushabh Mehta
2013-05-28 13:09:23 +05:30
parent e05135c8c4
commit 6986fc7ff3
2 changed files with 5 additions and 1 deletions

View File

@@ -21,3 +21,7 @@ def execute():
webnotes.delete_doc("DocType", "Question")
webnotes.delete_doc("DocType", "Answer")
webnotes.bean("Style Settings").save()
# update comment delete
webnotes.conn.sql("""update tabDocPerm \
set cancel=1 where parent='Comment' and role='System Manager'""")