Commit a2d5aa06 authored by Romain Courteaud's avatar Romain Courteaud

Do not create useless actions when creating a portal type.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17290 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 72f3c092
......@@ -691,25 +691,7 @@ def setDefaultClassProperties(property_holder):
, '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, )
}
},
)
}
......
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