removed unwanted permission
This commit is contained in:
parent
291e8c2545
commit
7c833af873
@ -10,5 +10,4 @@ def execute():
|
||||
if not doctype.doclist.get({"doctype": "DocField", "permlevel": pl}):
|
||||
if doctype.doclist.get({"doctype":"DocPerm", "permlevel":pl}):
|
||||
webnotes.conn.sql("""delete from `tabDocPerm`
|
||||
where parent = %s and permlevel = %s""", (dt[0], pl))
|
||||
print doctype.doc.name
|
||||
where parent = %s and permlevel = %s""", (dt[0], pl))
|
Loading…
x
Reference in New Issue
Block a user