mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-03 21:48:27 +00:00
[fix] #2836
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user