mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-27 08:54:45 +00:00
4 lines
178 B
Python
4 lines
178 B
Python
import webnotes
|
|
def execute():
|
|
webnotes.conn.sql("""update `tabDocPerm` set cancel=1
|
|
where parent='Profile' and role in ('System Manager', 'Administrator') and permlevel=0""") |