Commit 8e4b36ed authored by Romain Courteaud's avatar Romain Courteaud

Remove wrong factory type information.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@7705 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 35d5808c
...@@ -56,49 +56,3 @@ class Variation(XMLObject, Variation): ...@@ -56,49 +56,3 @@ class Variation(XMLObject, Variation):
, PropertySheet.Variation , PropertySheet.Variation
, PropertySheet.VariationRange , PropertySheet.VariationRange
) )
# Factory Type Information
factory_type_information = \
{ 'id' : portal_type
, 'meta_type' : meta_type
, 'description' : """\
An Organisation object holds the information about
an organisation (ex. a division in a company, a company,
a service in a public administration)."""
, 'icon' : 'organisation_icon.gif'
, 'product' : 'ERP5'
, 'factory' : 'addOrganisation'
, 'immediate_view' : 'organisation_edit'
, 'actions' :
( { 'id' : 'view'
, 'name' : 'View'
, 'category' : 'object_view'
, 'action' : 'organisation_edit'
, 'permissions' : (
Permissions.View, )
}
, { 'id' : 'print'
, 'name' : 'Print'
, 'category' : 'object_print'
, 'action' : 'organisation_print'
, 'permissions' : (
Permissions.View, )
}
, { 'id' : 'metadata'
, 'name' : 'Metadata'
, 'category' : 'object_edit'
, 'action' : 'metadata_edit'
, 'permissions' : (
Permissions.View, )
}
, { 'id' : 'translate'
, 'name' : 'Translate'
, 'category' : 'object_action'
, 'action' : 'translation_template_view'
, 'permissions' : (
Permissions.TranslateContent, )
}
)
}
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