Commit 5d2ac6f1 authored by Kevin Deldycke's avatar Kevin Deldycke

delete factory-type informations


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3190 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f50bdc74
...@@ -70,59 +70,6 @@ class InventoryLine(DeliveryLine): ...@@ -70,59 +70,6 @@ class InventoryLine(DeliveryLine):
, PropertySheet.ItemAggregation , PropertySheet.ItemAggregation
) )
# Factory Type Information
factory_type_information = \
{ 'id' : portal_type
, 'meta_type' : meta_type
, 'description' : """An Inventory Line"""
, 'icon' : 'inventory_line_icon.gif'
, 'product' : 'ERP5'
, 'factory' : 'addInventoryLine'
, 'immediate_view' : 'inventory_line_view'
, 'allow_discussion' : 1
, 'allowed_content_types': ('',
)
, 'filter_content_types' : 1
, 'global_allow' : 1
, 'actions' :
( { 'id' : 'view'
, 'name' : 'View'
, 'category' : 'object_view'
, 'action' : 'inventory_line_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' : 'inventory_line_print'
, 'permissions' : (
Permissions.View, )
}
, { 'id' : 'metadata'
, 'name' : 'Metadata'
, 'category' : 'object_view'
, 'action' : 'metadata_view'
, 'permissions' : (
Permissions.View, )
}
, { 'id' : 'translate'
, 'name' : 'Translate'
, 'category' : 'object_action'
, 'action' : 'translation_template_view'
, 'permissions' : (
Permissions.TranslateContent, )
}
)
}
def _edit(self, REQUEST=None, force_update = 0, **kw): def _edit(self, REQUEST=None, force_update = 0, **kw):
kw = kw.copy() kw = kw.copy()
item_id_list = kw.get('item_id_list', None) item_id_list = kw.get('item_id_list', None)
......
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