brotherton-erpnext/patches/july_2012/bin_permission.py

4 lines
152 B
Python
Raw Normal View History

from __future__ import unicode_literals
2012-07-31 08:42:23 +00:00
def execute():
import webnotes
webnotes.conn.sql("update `tabDocPerm` set permlevel = 0 where parent = 'Bin'")