mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-03 13:38:27 +00:00
8 lines
349 B
Python
8 lines
349 B
Python
# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors
|
|
# License: GNU General Public License v3. See license.txt
|
|
|
|
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""") |