commit | 6863b03790330288f026f4003d2743fa7cc97992 | [log] [tgz] |
---|---|---|
author | rohitwaghchaure <rohitw1991@gmail.com> | Tue Jul 17 17:20:15 2018 +0530 |
committer | Nabin Hait <nabinhait@gmail.com> | Tue Jul 17 17:20:15 2018 +0530 |
tree | 878229f0b56259aeaf96180b98c3f1e9b83b9d64 | |
parent | a76067eea1b0cd5c4bf54d2e3dc365095b6ca39a [diff] |
Naming series increase even if there is an exception while saving the invoice from the backend (#14938)
diff --git a/erpnext/accounts/doctype/sales_invoice/pos.py b/erpnext/accounts/doctype/sales_invoice/pos.py index 63db16c..a515724 100644 --- a/erpnext/accounts/doctype/sales_invoice/pos.py +++ b/erpnext/accounts/doctype/sales_invoice/pos.py
@@ -507,5 +507,6 @@ name_list.append(name) except Exception: frappe.log_error(frappe.get_traceback()) + frappe.db.rollback() return name_list