Commit f894661f authored by Yusei Tahara's avatar Yusei Tahara

Fixed Module Property action bug.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16201 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 08f4ea2b
......@@ -102,7 +102,7 @@
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>python:object.getTypeInfo() and object.getTypeInfo().getId().endswith(\' Module\') and object.getId().endswith(\'_module\')</string> </value>
<value> <string>python:object.getId().endswith(\'_module\') and getattr(object, \'getTypeInfo\', None) and object.getTypeInfo() and object.getTypeInfo().getId().endswith(\' Module\')</string> </value>
</item>
</dictionary>
</pickle>
......
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