mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-01 12:38:27 +00:00
Space allowed in naming series
Conflicts: setup/doctype/naming_series/naming_series.py
This commit is contained in:
@@ -108,7 +108,7 @@ class NamingSeries(Document):
|
||||
|
||||
def validate_series_name(self, n):
|
||||
import re
|
||||
if not re.match("^[a-zA-Z0-9-/.#]*$", n):
|
||||
if not re.match("^[a-zA-Z0-9- /.#]*$", n):
|
||||
throw(_('Special Characters except "-" and "/" not allowed in naming series'))
|
||||
|
||||
def get_options(self, arg=''):
|
||||
|
||||
Reference in New Issue
Block a user