mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-06 13:49:13 +00:00
merged deprecate account balance
This commit is contained in:
4
patches/september_2012/profile_delete_permission.py
Normal file
4
patches/september_2012/profile_delete_permission.py
Normal file
@@ -0,0 +1,4 @@
|
||||
import webnotes
|
||||
def execute():
|
||||
webnotes.conn.sql("""update `tabDocPerm` set cancel=1
|
||||
where parent='Profile' and role in ('System Manager', 'Administrator') and permlevel=0""")
|
||||
Reference in New Issue
Block a user