brotherton-erpnext/erpnext/patches/july_2012/bin_permission.py

4 lines
152 B
Python

from __future__ import unicode_literals
def execute():
import webnotes
webnotes.conn.sql("update `tabDocPerm` set permlevel = 0 where parent = 'Bin'")