This commit is contained in:
Rushabh Mehta 2015-03-02 16:20:23 +05:30
parent 00e3b26597
commit 3384cb7e63

View File

@ -117,7 +117,7 @@ class NamingSeries(Document):
def validate_series_name(self, n):
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'))
def get_options(self, arg=None):