brotherton-erpnext/patches/april_2012/update_permlevel_in_address.py
2012-09-24 19:13:42 +05:30

5 lines
157 B
Python

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