[comment] fix creation, deltion, close #131
This commit is contained in:
parent
e05135c8c4
commit
6986fc7ff3
@ -21,3 +21,7 @@ def execute():
|
|||||||
webnotes.delete_doc("DocType", "Question")
|
webnotes.delete_doc("DocType", "Question")
|
||||||
webnotes.delete_doc("DocType", "Answer")
|
webnotes.delete_doc("DocType", "Answer")
|
||||||
webnotes.bean("Style Settings").save()
|
webnotes.bean("Style Settings").save()
|
||||||
|
|
||||||
|
# update comment delete
|
||||||
|
webnotes.conn.sql("""update tabDocPerm \
|
||||||
|
set cancel=1 where parent='Comment' and role='System Manager'""")
|
||||||
|
|||||||
@ -41,7 +41,7 @@
|
|||||||
</div>
|
</div>
|
||||||
{% if obj.doclist.get({"doctype":"Item Website Specification"}) -%}
|
{% if obj.doclist.get({"doctype":"Item Website Specification"}) -%}
|
||||||
<div class="row" style="margin-top: 20px">
|
<div class="row" style="margin-top: 20px">
|
||||||
<div class="span12">
|
<div class="col col-lg-12">
|
||||||
<h4>Specifications</h4>
|
<h4>Specifications</h4>
|
||||||
<table class="table table-bordered" style="width: 100%">
|
<table class="table table-bordered" style="width: 100%">
|
||||||
{% for d in obj.doclist.get(
|
{% for d in obj.doclist.get(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user