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

4 lines
129 B
Python
Raw Normal View History

def execute():
import webnotes
webnotes.conn.sql("""update tabAccount set freeze_account='No' where freeze_account is null""")