brotherton-erpnext/patches/february_2013/account_negative_balance.py
2013-02-05 16:16:01 +05:30

4 lines
159 B
Python

def execute():
import webnotes
webnotes.reload_doc("accounts", "doctype", "account")
webnotes.conn.sql("update `tabAccount` set allow_negative_balance = 1")