mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-25 07:54:46 +00:00
fix in remove_archive
This commit is contained in:
@@ -15,7 +15,7 @@ def execute():
|
|||||||
res = webnotes.conn.sql("SELECT name FROM `%s`" % tab)
|
res = webnotes.conn.sql("SELECT name FROM `%s`" % tab)
|
||||||
for dn in res:
|
for dn in res:
|
||||||
archive.archive_doc(dt, dn[0], restore=1)
|
archive.archive_doc(dt, dn[0], restore=1)
|
||||||
count++
|
count += 1
|
||||||
if not count%100:
|
if not count%100:
|
||||||
webnotes.conn.commit()
|
webnotes.conn.commit()
|
||||||
webnotes.conn.begin()
|
webnotes.conn.begin()
|
||||||
|
|||||||
Reference in New Issue
Block a user