mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-04 04:39:11 +00:00
query-report patch, now report manager can save, but must give a new name if standard report
This commit is contained in:
6
patches/november_2012/report_permissions.py
Normal file
6
patches/november_2012/report_permissions.py
Normal file
@@ -0,0 +1,6 @@
|
||||
import webnotes
|
||||
|
||||
def execute():
|
||||
webnotes.conn.sql("""update tabDocPerm set `write`=1 where
|
||||
parent='Report'
|
||||
and role in ('Administrator', 'Report Manager', 'System Manager')""")
|
||||
Reference in New Issue
Block a user