This commit is contained in:
Nabin Hait
2013-10-22 11:42:50 +05:30
parent 72fcd55533
commit 1500c83cce
2 changed files with 10 additions and 0 deletions

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