Commit b55f37c8 authored by Romain Courteaud's avatar Romain Courteaud

Fix default icon associated to new portal types.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18854 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b7fbf018
...@@ -681,7 +681,7 @@ def setDefaultClassProperties(property_holder): ...@@ -681,7 +681,7 @@ def setDefaultClassProperties(property_holder):
, 'meta_type' : property_holder.meta_type , 'meta_type' : property_holder.meta_type
, 'description' : getattr(property_holder, '__doc__', , 'description' : getattr(property_holder, '__doc__',
"Type generated by ERPType") "Type generated by ERPType")
, 'icon' : 'document.gif' , 'icon' : 'document_icon.gif'
, 'product' : 'ERP5Type' , 'product' : 'ERP5Type'
, 'factory' : 'add%s' % property_holder.__name__ , 'factory' : 'add%s' % property_holder.__name__
, 'immediate_view' : '%s_view' % property_holder.__name__ , 'immediate_view' : '%s_view' % property_holder.__name__
......
...@@ -62,7 +62,7 @@ class XMLObject( Folder ): ...@@ -62,7 +62,7 @@ class XMLObject( Folder ):
{ 'id' : portal_type { 'id' : portal_type
, 'meta_type' : meta_type , 'meta_type' : meta_type
, 'description' : "ERP5 default document. Supports synchronisation and XML." , 'description' : "ERP5 default document. Supports synchronisation and XML."
, 'icon' : 'document.gif' , 'icon' : 'document_icon.gif'
, 'product' : 'ERP5Type' , 'product' : 'ERP5Type'
, 'factory' : 'addXMLObject' , 'factory' : 'addXMLObject'
, 'immediate_view' : 'XMLObject_view' , 'immediate_view' : 'XMLObject_view'
......
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