Ignore select validation for naming_series

This commit is contained in:
Anand Doshi 2014-06-27 21:04:37 +05:30
parent 2ead90fc6e
commit 22bafc4a1c

View file

@ -292,7 +292,7 @@ class BaseDocument(object):
return
for df in self.meta.get_select_fields():
if not (self.get(df.fieldname) and df.options):
if df.fieldname=="naming_series" or not (self.get(df.fieldname) and df.options):
continue
options = (df.options or "").split("\n")