diff --git a/product/ERP5/Document/PredicateGroup.py b/product/ERP5/Document/PredicateGroup.py index ad91de1589b5a2d8717665c9b24b9b8ad834dbe9..773100fe8be8f58fda97ea6ce28a2eb86d5366a1 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(self,method) + method = getattr(context,method) result = result and method() # XXX Add here additional method calls return result