[Erp5-report] r10041 - /erp5/trunk/products/ERP5/Document/Pricing.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Sun Sep 17 14:25:49 CEST 2006
Author: jp
Date: Sun Sep 17 14:25:48 2006
New Revision: 10041
URL: http://svn.erp5.org?rev=10041&view=rev
Log:
Remove unnecessary menu entries
Modified:
erp5/trunk/products/ERP5/Document/Pricing.py
Modified: erp5/trunk/products/ERP5/Document/Pricing.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/Pricing.py?rev=10041&r1=10040&r2=10041&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/Pricing.py (original)
+++ erp5/trunk/products/ERP5/Document/Pricing.py Sun Sep 17 14:25:48 2006
@@ -58,60 +58,6 @@
, 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')
def _setQuantityRangeList(self, category_list):
"""
More information about the Erp5-report
mailing list