brotherton-erpnext/patches/february_2013/account_negative_balance.py

4 lines
159 B
Python
Raw Normal View History

def execute():
import webnotes
2013-02-05 10:46:01 +00:00
webnotes.reload_doc("accounts", "doctype", "account")
webnotes.conn.sql("update `tabAccount` set allow_negative_balance = 1")