mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-18 09:05:00 +00:00
5 lines
218 B
Python
5 lines
218 B
Python
from __future__ import unicode_literals
|
|
import webnotes
|
|
def execute():
|
|
webnotes.conn.sql("""update `tabDocPerm` set cancel=1
|
|
where parent='Profile' and role in ('System Manager', 'Administrator') and permlevel=0""") |