[Erp5-report] r16201 - /erp5/trunk/products/ERP5/bootstrap/erp5_core/ActionTemplateItem/por...
nobody at svn.erp5.org
nobody at svn.erp5.org
Mon Sep 10 10:26:27 CEST 2007
Author: yusei
Date: Mon Sep 10 10:26:27 2007
New Revision: 16201
URL: http://svn.erp5.org?rev=16201&view=rev
Log:
Fixed Module Property action bug.
Modified:
erp5/trunk/products/ERP5/bootstrap/erp5_core/ActionTemplateItem/portal_types/portal_properties/module_view.xml
Modified: erp5/trunk/products/ERP5/bootstrap/erp5_core/ActionTemplateItem/portal_types/portal_properties/module_view.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_core/ActionTemplateItem/portal_types/portal_properties/module_view.xml?rev=16201&r1=16200&r2=16201&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/ActionTemplateItem/portal_types/portal_properties/module_view.xml (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/ActionTemplateItem/portal_types/portal_properties/module_view.xml Mon Sep 10 10:26:27 2007
@@ -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>
More information about the Erp5-report
mailing list