From c1488d5874a51378476daca59e6cf8dae2cc9588 Mon Sep 17 00:00:00 2001
From: Jean-Paul Smets <jp@nexedi.com>
Date: Fri, 24 Jun 2005 21:32:56 +0000
Subject: [PATCH] compatibility for Predicate updated

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3342 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5/__init__.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/product/ERP5/__init__.py b/product/ERP5/__init__.py
index dec6e501a1..75893a233b 100755
--- a/product/ERP5/__init__.py
+++ b/product/ERP5/__init__.py
@@ -74,8 +74,10 @@ def initialize( context ):
   from zLOG import LOG
   LOG('In ERP5 initialize', 0, '')
   # For compatibility
-  import Document
+  import Document  
   Document.PredicateGroup = Document.Predicate
+  from Products.ERP5Type import Document as ERP5TypeDocument
+  ERP5TypeDocument.PredicateGroup = Document.Predicate
   # Initialize
   initializeProduct(context, this_module, globals(),
                          document_module = Document,
-- 
2.30.9