From 20a07e46f9c321afe20cf06719bc047820cae7e4 Mon Sep 17 00:00:00 2001
From: Julien Muchembled <jm@nexedi.com>
Date: Wed, 30 Dec 2009 13:08:40 +0000
Subject: [PATCH] Oops. [27255] already fixed the use of external validators in
 listbox cells

Revert [31533] partially.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31534 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5Form/ListBox.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/product/ERP5Form/ListBox.py b/product/ERP5Form/ListBox.py
index 9267e79d0b..466a4236e8 100644
--- a/product/ERP5Form/ListBox.py
+++ b/product/ERP5Form/ListBox.py
@@ -2703,7 +2703,7 @@ class ListBoxValidator(Validator.Validator):
                     error_result_key = '%s_%s' % (my_field.id, o.uid)
                     key = 'field_' + error_result_key
                     try:
-                      value = my_field._validate_helper(key, REQUEST) # We need cell
+                      value = my_field.validator.validate(my_field, key, REQUEST) # We need cell
                       error_result[error_result_key] = value
                       if not result.has_key(o.getUrl()):
                         result[o.getUrl()] = {}
-- 
2.30.9