[Erp5-report] r17290 - /erp5/trunk/products/ERP5Type/Utils.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Oct 30 11:34:41 CET 2007
Author: romain
Date: Tue Oct 30 11:34:41 2007
New Revision: 17290
URL: http://svn.erp5.org?rev=17290&view=rev
Log:
Do not create useless actions when creating a portal type.
Modified:
erp5/trunk/products/ERP5Type/Utils.py
Modified: erp5/trunk/products/ERP5Type/Utils.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/Utils.py?rev=17290&r1=17289&r2=17290&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/Utils.py (original)
+++ erp5/trunk/products/ERP5Type/Utils.py Tue Oct 30 11:34:41 2007
@@ -691,25 +691,7 @@
, 'category' : 'object_view'
, 'action' : '%s_view' % property_holder.__name__
, 'permissions' : ( Permissions.View, )
- }
- , { 'id' : 'history'
- , 'name' : 'History'
- , 'category' : 'object_view'
- , 'action' : 'Base_viewHistory'
- , 'permissions' : ( Permissions.View, )
- }
- , { 'id' : 'metadata'
- , 'name' : 'Metadata'
- , 'category' : 'object_view'
- , 'action' : 'Base_viewMetadata'
- , 'permissions' : ( Permissions.ManageProperties, )
- }
- , { 'id' : 'print'
- , 'name' : 'Print'
- , 'category' : 'object_print'
- , 'action' : '%s_print' % property_holder.__name__
- , 'permissions' : ( Permissions.View, )
- }
+ },
)
}
More information about the Erp5-report
mailing list