new feature: validation on account negative balance

This commit is contained in:
Nabin Hait
2013-02-05 15:52:46 +05:30
parent cdc32d02b2
commit 7bdf27b19c
4 changed files with 160 additions and 130 deletions

View File

@@ -0,0 +1,4 @@
def execute():
import webnotes
webnotes.reload_doc("accounts", "doctype", "Account")
webnotes.conn.sql("update `tabAccount` set allow_negative_balance = 1")