mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-16 16:15:02 +00:00
Minor issue in naming series
This commit is contained in:
@@ -26,7 +26,8 @@ class NamingSeries(Document):
|
||||
except frappe.DoesNotExistError:
|
||||
continue
|
||||
|
||||
prefixes = prefixes + "\n" + options
|
||||
if options:
|
||||
prefixes = prefixes + "\n" + options
|
||||
|
||||
prefixes.replace("\n\n", "\n")
|
||||
prefixes = "\n".join(sorted(prefixes.split()))
|
||||
|
||||
Reference in New Issue
Block a user