From b2e0cb0002ea44f21d3e0b375649539823013bee Mon Sep 17 00:00:00 2001 From: Romain Courteaud <romain@nexedi.com> Date: Thu, 30 Aug 2007 08:51:50 +0000 Subject: [PATCH] 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 --- product/ERP5Form/ParallelListField.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/product/ERP5Form/ParallelListField.py b/product/ERP5Form/ParallelListField.py index a433bfba25..617a22bf38 100644 --- a/product/ERP5Form/ParallelListField.py +++ b/product/ERP5Form/ParallelListField.py @@ -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: -- 2.30.9