__init__.py 308 Bytes
Newer Older
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
1 2 3 4 5 6 7 8 9
import sys
from Products.ERP5Type.Utils import initializeProduct, updateGlobals

this_module = sys.modules[__name__]
document_classes = updateGlobals(this_module, globals())

def initialize(context):
  initializeProduct(context, this_module, globals(),
                    document_classes=document_classes)