Minor issue in naming series
This commit is contained in:
parent
ac59c2b300
commit
bd9aa13db3
@ -26,7 +26,8 @@ class NamingSeries(Document):
|
|||||||
except frappe.DoesNotExistError:
|
except frappe.DoesNotExistError:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
prefixes = prefixes + "\n" + options
|
if options:
|
||||||
|
prefixes = prefixes + "\n" + options
|
||||||
|
|
||||||
prefixes.replace("\n\n", "\n")
|
prefixes.replace("\n\n", "\n")
|
||||||
prefixes = "\n".join(sorted(prefixes.split()))
|
prefixes = "\n".join(sorted(prefixes.split()))
|
||||||
|
Loading…
Reference in New Issue
Block a user