[Erp5-report] r11022 - /erp5/trunk/products/ERP5Type/Base.py

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Oct 31 15:42:20 CET 2006


Author: seb
Date: Tue Oct 31 15:42:17 2006
New Revision: 11022

URL: http://svn.erp5.org?rev=11022&view=rev
Log:
make sure to initialize caches

Modified:
    erp5/trunk/products/ERP5Type/Base.py

Modified: erp5/trunk/products/ERP5Type/Base.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/Base.py?rev=11022&r1=11021&r2=11022&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/Base.py (original)
+++ erp5/trunk/products/ERP5Type/Base.py Tue Oct 31 15:42:17 2006
@@ -159,6 +159,10 @@
       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):




More information about the Erp5-report mailing list