Commit b2e0cb00 authored by Romain Courteaud's avatar Romain Courteaud

Fix ParallelListFieldValidator, which didn't generate right subform when it

depends from the object value.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@15945 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 00b7b74c
......@@ -160,7 +160,7 @@ class ParallelListValidator(Validator.MultiSelectionValidator):
def validate(self, field, key, REQUEST):
result_list = []
hash_list = generateSubForm(field, None, REQUEST)
hash_list = generateSubForm(field, field.get_value('default'), REQUEST)
is_sub_field_required = 0
for sub_field_property_dict in hash_list:
try:
......
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