[hotfix] removed print
This commit is contained in:
parent
6e5ff7197c
commit
605e6d55bb
1 changed files with 0 additions and 2 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue