Space allowed in naming series

Conflicts:
	setup/doctype/naming_series/naming_series.py
This commit is contained in:
Nabin Hait 2014-04-06 12:08:22 +05:30 committed by Anand Doshi
parent a0c239db8d
commit 13429a3b34

View File

@ -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=''):