Commit 5df2a9ab authored by Romain Courteaud's avatar Romain Courteaud

Remove factory type information.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@2806 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent fd280b7c
...@@ -62,8 +62,6 @@ class PackingList(Delivery): ...@@ -62,8 +62,6 @@ class PackingList(Delivery):
meta_type = 'ERP5 Packing List' meta_type = 'ERP5 Packing List'
portal_type = 'Packing List' portal_type = 'Packing List'
add_permission = Permissions.AddPortalContent add_permission = Permissions.AddPortalContent
isPortalContent = 1
isRADContent = 1
isDelivery = 1 isDelivery = 1
# Declarative security # Declarative security
...@@ -80,60 +78,6 @@ class PackingList(Delivery): ...@@ -80,60 +78,6 @@ class PackingList(Delivery):
, PropertySheet.Movement , PropertySheet.Movement
) )
# CMF Factory Type Information
factory_type_information = \
{ 'id' : portal_type
, 'meta_type' : meta_type
, 'description' : """\
An order..."""
, 'icon' : 'packing_list_icon.gif'
, 'product' : 'ERP5'
, 'factory' : 'addPackingList'
, 'immediate_view' : 'packing_list_view'
, 'allow_discussion' : 1
, 'allowed_content_types': ('Movement', 'Container', 'Item'
)
, 'filter_content_types' : 1
, 'global_allow' : 1
, 'actions' :
( { 'id' : 'view'
, 'name' : 'View'
, 'category' : 'object_view'
, 'action' : 'packing_list_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' : 'packing_list_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, )
}
)
}
security.declareProtected(Permissions.View, 'isDivergent') security.declareProtected(Permissions.View, 'isDivergent')
def isDivergent(self): def isDivergent(self):
""" """
......
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