fix in setup control and patch to fix existing docstatus problem

This commit is contained in:
Anand Doshi
2012-10-05 15:12:32 +05:30
5 changed files with 47 additions and 2 deletions

View File

@@ -0,0 +1,7 @@
import webnotes
def execute():
webnotes.conn.sql("""update `tabCompany` set docstatus = 0
where docstatus is null""")
webnotes.conn.sql("""update `tabFiscal Year` set docstatus = 0
where docstatus is null""")