diff --git a/product/ERP5/bootstrap/erp5_core/ActionTemplateItem/portal_types/portal_properties/module_view.xml b/product/ERP5/bootstrap/erp5_core/ActionTemplateItem/portal_types/portal_properties/module_view.xml index d40f7a93132ce0a56aca0627410b3e0704fcfdf1..d01b496ca3f2a1852d2e200776475cdf94de6d9d 100644 --- a/product/ERP5/bootstrap/erp5_core/ActionTemplateItem/portal_types/portal_properties/module_view.xml +++ b/product/ERP5/bootstrap/erp5_core/ActionTemplateItem/portal_types/portal_properties/module_view.xml @@ -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>