brotherton-erpnext/patches/april_2012/update_permlevel_in_address.py

5 lines
157 B
Python
Raw Normal View History

from __future__ import unicode_literals
2012-04-24 07:10:50 +00:00
def execute():
import webnotes
webnotes.conn.sql("update `tabDocPerm` set permlevel = 0 where parent = 'Address'")