Commit 46d71300 authored by Sebastien Robin's avatar Sebastien Robin

make sure to initialize caches

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@11022 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 66b50e5d
......@@ -159,6 +159,10 @@ def initializeClassDynamicProperties(self, klass):
Base.aq_method_generated[klass] = 1
def initializePortalTypeDynamicProperties(self, klass, ptype):
## Init CachingMethod which implements caching for ERP5
from Products.ERP5Type.Cache import initializePortalCachingProperties
initializePortalCachingProperties(self)
id = ''
#LOG('before aq_portal_type %s' % id, 0, str(ptype))
if not Base.aq_portal_type.has_key(ptype):
......
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