[hotfix] removed print

This commit is contained in:
Anand Doshi 2014-08-25 21:13:16 +05:30
parent 6e5ff7197c
commit 605e6d55bb

View file

@ -134,8 +134,6 @@ def revert_series_if_last(key, name):
count = cint(name.replace(prefix, ""))
current = frappe.db.sql("select `current` from `tabSeries` where name=%s for update", (prefix,))
print prefix, count, current
if current and current[0][0]==count:
frappe.db.sql("update tabSeries set current=current-1 where name=%s", prefix)