[Erp5-report] r42872 nicolas.dumazet - /erp5/trunk/products/ERP5Type/dynamic/lazy_class.py

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Feb 1 08:28:01 CET 2011


Author: nicolas.dumazet
Date: Tue Feb  1 08:28:00 2011
New Revision: 42872

URL: http://svn.erp5.org?rev=42872&view=rev
Log:
the class needs to be unghosted for that method to return meaningful results

Modified:
    erp5/trunk/products/ERP5Type/dynamic/lazy_class.py

Modified: erp5/trunk/products/ERP5Type/dynamic/lazy_class.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/dynamic/lazy_class.py?rev=42872&r1=42871&r2=42872&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/dynamic/lazy_class.py [utf8] (original)
+++ erp5/trunk/products/ERP5Type/dynamic/lazy_class.py [utf8] Tue Feb  1 08:28:00 2011
@@ -131,6 +131,7 @@ class PortalTypeMetaClass(GhostBaseMetaC
 
     @see Products.ERP5Type.Base.Base._propertyMap
     """
+    cls.loadClass()
     property_list = []
     for klass in cls.mro():
       if klass.__module__ == 'erp5.accessor_holder':



More information about the Erp5-report mailing list