[Erp5-report] r41439 nicolas.dumazet - /erp5/trunk/products/ERP5Type/Base.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed Dec 15 08:11:02 CET 2010
Author: nicolas.dumazet
Date: Wed Dec 15 08:11:02 2010
New Revision: 41439
URL: http://svn.erp5.org?rev=41439&view=rev
Log:
the document class is a few class up the class hierarchy.
This fixes ClassTool.test_AsDocumentationHelperOnDocument
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=41439&r1=41438&r2=41439&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/Base.py [utf8] (original)
+++ erp5/trunk/products/ERP5Type/Base.py [utf8] Wed Dec 15 08:11:02 2010
@@ -3594,6 +3594,10 @@ class Base( CopyContainer,
and documented_item.__class__ \
or documented_item
+ # XXX assume that we dont care about the portal type class
+ while item_class.__module__ in ('erp5.portal_type', 'erp5.temp_portal_type'):
+ item_class = item_class.__bases__[0]
+
static_method_list = [] # Class methods
static_property_list = [] # Class attributes
dynamic_method_list = [] # Workflow methods
More information about the Erp5-report
mailing list