Commit a4fb6f95 authored by Nicolas Dumazet's avatar Nicolas Dumazet

the document class is a few class up the class hierarchy.

This fixes ClassTool.test_AsDocumentationHelperOnDocument


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41439 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent cbfac913
......@@ -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
......
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