Space allowed in naming series
Conflicts: setup/doctype/naming_series/naming_series.py
This commit is contained in:
parent
a0c239db8d
commit
13429a3b34
@ -108,7 +108,7 @@ class NamingSeries(Document):
|
|||||||
|
|
||||||
def validate_series_name(self, n):
|
def validate_series_name(self, n):
|
||||||
import re
|
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'))
|
throw(_('Special Characters except "-" and "/" not allowed in naming series'))
|
||||||
|
|
||||||
def get_options(self, arg=''):
|
def get_options(self, arg=''):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user