Commit a2a59679 authored by Jean-Paul Smets's avatar Jean-Paul Smets

Remove unnecessary menu entries

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10041 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e8f03481
...@@ -58,60 +58,6 @@ class Pricing(MappedValue, XMLMatrix): ...@@ -58,60 +58,6 @@ class Pricing(MappedValue, XMLMatrix):
, PropertySheet.Pricing , PropertySheet.Pricing
) )
# Factory Type Information
factory_type_information = \
{ 'id' : portal_type
, 'meta_type' : meta_type
, 'description' : """\
Une ligne tarifaire."""
, 'icon' : 'pricing_icon.gif'
, 'product' : 'ERP5'
, 'factory' : 'addPricing'
, 'immediate_view' : 'pricing_view'
, 'allow_discussion' : 1
, 'allowed_content_types': ('',
)
, 'filter_content_types' : 1
, 'global_allow' : 1
, 'actions' :
( { 'id' : 'view'
, 'name' : 'View'
, 'category' : 'object_view'
, 'action' : 'pricing_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' : 'pricing_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.ModifyPortalContent, '_setQuantityRangeList') security.declareProtected(Permissions.ModifyPortalContent, '_setQuantityRangeList')
def _setQuantityRangeList(self, category_list): def _setQuantityRangeList(self, category_list):
""" """
......
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