Commit 26944837 authored by Romain Courteaud's avatar Romain Courteaud

Simplify module_view action's condition.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17410 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 86ea435f
...@@ -102,7 +102,7 @@ ...@@ -102,7 +102,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>text</string> </key> <key> <string>text</string> </key>
<value> <string>python:object and object.getId().endswith(\'_module\') and getattr(object, \'getTypeInfo\', None) and object.getTypeInfo() and object.getTypeInfo().getId().endswith(\' Module\')</string> </value> <value> <string>python: object.getPortalType() in portal.getPortalModuleTypeList()</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
558 559
\ No newline at end of file \ No newline at end of file
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