[fix] #2836
This commit is contained in:
parent
00e3b26597
commit
3384cb7e63
@ -117,7 +117,7 @@ class NamingSeries(Document):
|
|||||||
|
|
||||||
def validate_series_name(self, n):
|
def validate_series_name(self, n):
|
||||||
import re
|
import re
|
||||||
if not re.match("^[\w- /.#]*$", n, re.UNICODE):
|
if not re.match("^[\w\- /.#]*$", n, re.UNICODE):
|
||||||
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=None):
|
def get_options(self, arg=None):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user