diff --git a/patches/may_2013/p06_make_notes.py b/patches/may_2013/p06_make_notes.py index bdf7aec04a..02c3d4bb52 100644 --- a/patches/may_2013/p06_make_notes.py +++ b/patches/may_2013/p06_make_notes.py @@ -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'""") diff --git a/website/templates/html/product_page.html b/website/templates/html/product_page.html index 1911af9d0f..263159f305 100644 --- a/website/templates/html/product_page.html +++ b/website/templates/html/product_page.html @@ -41,7 +41,7 @@ {% if obj.doclist.get({"doctype":"Item Website Specification"}) -%}