mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-06 15:00:27 +00:00
10 lines
279 B
Python
10 lines
279 B
Python
from __future__ import unicode_literals
|
|
def execute():
|
|
"""allow read permission to all for report list"""
|
|
import webnotes
|
|
webnotes.conn.sql("""\
|
|
delete from `tabDocPerm`
|
|
where parent in ('Report', 'Search Criteria')""")
|
|
|
|
webnotes.reload_doc('core', 'doctype', 'report')
|