From af6ec08a2d643a444045a033b9d7070f5b0fc1af Mon Sep 17 00:00:00 2001 From: Sebastien Robin <seb@nexedi.com> Date: Thu, 24 Feb 2005 09:55:41 +0000 Subject: [PATCH] corrected problem with the method_id in test git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@2554 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/Document/PredicateGroup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/product/ERP5/Document/PredicateGroup.py b/product/ERP5/Document/PredicateGroup.py index b6570d03d2..fbb415f5fb 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 -- 2.30.9