query-report patch, now report manager can save, but must give a new name if standard report

This commit is contained in:
Rushabh Mehta
2012-11-12 12:53:44 +05:30
parent 13a0e4693e
commit 09a53376bb
3 changed files with 10 additions and 33 deletions

View 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')""")