2012-07-19 08:10:31 +00:00
|
|
|
from __future__ import unicode_literals
|
2012-06-13 12:32:43 +00:00
|
|
|
def execute():
|
|
|
|
"""allow read permission to all for report list"""
|
|
|
|
import webnotes
|
2012-06-13 13:34:27 +00:00
|
|
|
webnotes.conn.sql("""\
|
|
|
|
delete from `tabDocPerm`
|
|
|
|
where parent in ('Report', 'Search Criteria')""")
|
|
|
|
|
2013-05-16 09:58:19 +00:00
|
|
|
webnotes.reload_doc('core', 'doctype', 'report')
|