diff --git a/patches/may_2013/p06_make_notes.py b/patches/may_2013/p06_make_notes.py index bdf7aec04a1..02c3d4bb529 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 1911af9d0fa..263159f3058 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"}) -%}
-
+

Specifications

{% for d in obj.doclist.get(