mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-09 08:02:51 +00:00
set default report permission based on read
This commit is contained in:
4
patches/january_2013/give_report_permission_on_read.py
Normal file
4
patches/january_2013/give_report_permission_on_read.py
Normal file
@@ -0,0 +1,4 @@
|
||||
import webnotes
|
||||
def execute():
|
||||
webnotes.conn.sql("""update tabDocPerm set `report`=`read`
|
||||
where ifnull(permlevel,0)=0""")
|
||||
Reference in New Issue
Block a user