mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-29 09:54:47 +00:00
-am
This commit is contained in:
9
patches/october_2013/p04_update_report_permission.py
Normal file
9
patches/october_2013/p04_update_report_permission.py
Normal file
@@ -0,0 +1,9 @@
|
||||
# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd.
|
||||
# License: GNU General Public License v3. See license.txt
|
||||
|
||||
import webnotes
|
||||
|
||||
def execute():
|
||||
webnotes.conn.sql("""update tabDocPerm set `create`=1 where
|
||||
parent='Report'
|
||||
and role in ('Administrator', 'Report Manager', 'System Manager')""")
|
||||
Reference in New Issue
Block a user