Commit f2e0be78 authored by Kevin Deldycke's avatar Kevin Deldycke

Remove Factory Type Information


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3580 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 4c3da481
...@@ -32,6 +32,7 @@ from Products.ERP5Type import Permissions, PropertySheet, Constraint, Interface ...@@ -32,6 +32,7 @@ from Products.ERP5Type import Permissions, PropertySheet, Constraint, Interface
from Products.ERP5.Document.Path import Path from Products.ERP5.Document.Path import Path
class Assignment(Path): class Assignment(Path):
# CMF Type Definition # CMF Type Definition
meta_type = 'ERP5 Assignment' meta_type = 'ERP5 Assignment'
...@@ -54,56 +55,3 @@ class Assignment(Path): ...@@ -54,56 +55,3 @@ class Assignment(Path):
, PropertySheet.Path , PropertySheet.Path
, PropertySheet.Assignment , PropertySheet.Assignment
) )
\ No newline at end of file
# CMF Factory Type Information
factory_type_information = \
{ 'id' : portal_type
, 'meta_type' : meta_type
, 'description' : """\
An Assignment allow a person to be assigned to an organisation during a period without changing his career organisation."""
, 'icon' : 'order_icon.gif'
, 'product' : 'ERP5'
, 'factory' : 'addAssignment'
, 'immediate_view' : 'Assignment_view'
, 'allow_discussion' : 1
, 'allowed_content_types': ()
, 'filter_content_types' : 1
, 'global_allow' : 1
, 'actions' :
( { 'id' : 'view'
, 'name' : 'View'
, 'category' : 'object_view'
, 'action' : 'Assignment_view'
, 'permissions' : (
Permissions.View, )
}
, { 'id' : 'list'
, 'name' : 'Object Contents'
, 'category' : 'object_action'
, 'action' : 'folder_contents'
, 'permissions' : (
Permissions.View, )
}
, { 'id' : 'print'
, 'name' : 'Print'
, 'category' : 'object_print'
, 'action' : 'order_print'
, 'permissions' : (
Permissions.View, )
}
, { 'id' : 'metadata'
, 'name' : 'Metadata'
, 'category' : 'object_view'
, '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