mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-03 04:09:11 +00:00
Space allowed in naming series
Conflicts: setup/doctype/naming_series/naming_series.py
This commit is contained in:
@@ -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=''):
|
||||||
|
|||||||
Reference in New Issue
Block a user