brotherton-erpnext/patches/october_2012/custom_script_delete_permission.py
2013-03-06 11:30:09 +05:30

5 lines
121 B
Python

import webnotes
def execute():
webnotes.reload_doc("core", "doctype", "docperm")
webnotes.reset_perms("Custom Script")