Commit 5e149355 authored by Julien Muchembled's avatar Julien Muchembled

ERP5Form: remove dead code

parent 96acdd62
...@@ -592,9 +592,6 @@ class MultiRelationStringFieldValidator(Validator.LinesValidator): ...@@ -592,9 +592,6 @@ class MultiRelationStringFieldValidator(Validator.LinesValidator):
field.generate_subfield_key(SUB_FIELD_ID, key=key), field.generate_subfield_key(SUB_FIELD_ID, key=key),
) )
if relation_uid_list in (None, ''): if relation_uid_list in (None, ''):
value_list = self.default_validator_instance.validate(
field, key, REQUEST,
)
field_value_list = self._generateFieldValueList( field_value_list = self._generateFieldValueList(
field, field,
key, key,
...@@ -721,7 +718,6 @@ class MultiRelationStringFieldValidator(Validator.LinesValidator): ...@@ -721,7 +718,6 @@ class MultiRelationStringFieldValidator(Validator.LinesValidator):
if raising_error_value: if raising_error_value:
self.raise_error(raising_error_value, field) self.raise_error(raising_error_value, field)
return value_list
return self.editor( return self.editor(
field.id, field.id,
field.get_value('base_category'), field.get_value('base_category'),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment