2012-10-01 06:05:49 +00:00
|
|
|
from __future__ import unicode_literals
|
2012-09-28 11:15:05 +00:00
|
|
|
import webnotes
|
|
|
|
def execute():
|
|
|
|
webnotes.conn.sql("""update `tabDocPerm` set cancel=1
|
|
|
|
where parent='Profile' and role in ('System Manager', 'Administrator') and permlevel=0""")
|