diff --git a/product/ERP5/Document/PredicateGroup.py b/product/ERP5/Document/PredicateGroup.py index b6570d03d2601fb809b390a30e94a3d66d3d60b5..fbb415f5fb5d041b52b2aefe7539cab434cde42c 100755 --- a/product/ERP5/Document/PredicateGroup.py +++ b/product/ERP5/Document/PredicateGroup.py @@ -154,7 +154,7 @@ identify a bank account.""" # Test method calls test_method_id = self.getTestMethodId() if test_method_id is not None and result: - method = getattr(context,method) + method = getattr(context,test_method_id) result = result and method() # XXX Add here additional method calls return result