brotherton-erpnext/erpnext/patches/april_2012/update_permlevel_in_address.py
2012-04-24 12:40:50 +05:30

4 lines
117 B
Python

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