mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-16 16:56:57 +00:00
Naming series increase even if there is an exception while saving the invoice from the backend (#14938)
This commit is contained in:
committed by
Nabin Hait
parent
a76067eea1
commit
6863b03790
@@ -507,5 +507,6 @@ def save_invoice(doc, name, name_list):
|
||||
name_list.append(name)
|
||||
except Exception:
|
||||
frappe.log_error(frappe.get_traceback())
|
||||
frappe.db.rollback()
|
||||
|
||||
return name_list
|
||||
|
||||
Reference in New Issue
Block a user