diff --git a/product/ERP5/__init__.py b/product/ERP5/__init__.py index cff5ca9c38f9d5edc59ed56993aff417bc63579e..dec6e501a1104d9abc1c0226056fc7258adad6d3 100755 --- a/product/ERP5/__init__.py +++ b/product/ERP5/__init__.py @@ -73,6 +73,10 @@ def initialize( context ): import Document from zLOG import LOG LOG('In ERP5 initialize', 0, '') + # For compatibility + import Document + Document.PredicateGroup = Document.Predicate + # Initialize initializeProduct(context, this_module, globals(), document_module = Document, document_classes = document_classes, @@ -80,3 +84,5 @@ def initialize( context ): portal_tools = portal_tools, content_constructors = content_constructors, content_classes = content_classes) + + \ No newline at end of file