fix in remove_archive
diff --git a/erpnext/patches/jan_mar_2012/remove_archive.py b/erpnext/patches/jan_mar_2012/remove_archive.py
index 5f2cdab..1b914d5 100644
--- a/erpnext/patches/jan_mar_2012/remove_archive.py
+++ b/erpnext/patches/jan_mar_2012/remove_archive.py
@@ -8,7 +8,7 @@
from webnotes.utils import archive
arc_tables = webnotes.conn.sql('show tables like "arc%"')
try:
- webnotes.conn.auto_commit_on_excess = 1
+ webnotes.conn.auto_commit_on_many_writes = 1
for tab in arc_tables:
tab = tab[0]
dt = tab[3:]