Commit c1488d58 authored by Jean-Paul Smets's avatar Jean-Paul Smets

compatibility for Predicate updated


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3342 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 509f4c5e
...@@ -74,8 +74,10 @@ def initialize( context ): ...@@ -74,8 +74,10 @@ def initialize( context ):
from zLOG import LOG from zLOG import LOG
LOG('In ERP5 initialize', 0, '') LOG('In ERP5 initialize', 0, '')
# For compatibility # For compatibility
import Document import Document
Document.PredicateGroup = Document.Predicate Document.PredicateGroup = Document.Predicate
from Products.ERP5Type import Document as ERP5TypeDocument
ERP5TypeDocument.PredicateGroup = Document.Predicate
# Initialize # Initialize
initializeProduct(context, this_module, globals(), initializeProduct(context, this_module, globals(),
document_module = Document, document_module = Document,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment