brotherton-erpnext/patches/october_2012/custom_script_delete_permission.py

8 lines
252 B
Python
Raw Normal View History

2013-11-20 07:29:58 +00:00
# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors
# License: GNU General Public License v3. See license.txt
import webnotes
def execute():
2013-03-06 06:00:09 +00:00
webnotes.reload_doc("core", "doctype", "docperm")
webnotes.reset_perms("Custom Script")