Commit b5a6f3ec authored by Sebastien Robin's avatar Sebastien Robin

do not display the source code of zsql methods in ODT style, it will makes...

do not display the source code of zsql methods in ODT style, it will makes documentation too verbose

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24440 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 622cc778
...@@ -75,7 +75,7 @@ class ZSQLMethodDocumentationHelper(DocumentationHelper): ...@@ -75,7 +75,7 @@ class ZSQLMethodDocumentationHelper(DocumentationHelper):
REQUEST = getattr(self, 'REQUEST', None) REQUEST = getattr(self, 'REQUEST', None)
if REQUEST is not None: if REQUEST is not None:
if REQUEST.get('portal_skin', 'View' ) != 'View': if REQUEST.get('portal_skin', 'View' ) != 'View':
return source_code return ""
else: else:
LOG('DCWorkflowScriptDocumentationHelper', INFO, LOG('DCWorkflowScriptDocumentationHelper', INFO,
'Transformation Tool is not installed. No convertion of python script to html') 'Transformation Tool is not installed. No convertion of python script to html')
......
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