Commit 7a9e7605 authored by Ayush Tiwari's avatar Ayush Tiwari

erp5_catalog: Add View tab for displaying the erp5 view for Catalo objects

parent 1f315c6a
...@@ -329,6 +329,8 @@ class Catalog(Folder, ...@@ -329,6 +329,8 @@ class Catalog(Folder,
security = ClassSecurityInfo() security = ClassSecurityInfo()
manage_options = ( manage_options = (
{'label': 'View', # TAB: View
'action': '' },
{'label': 'Contents', # TAB: Contents {'label': 'Contents', # TAB: Contents
'action': 'manage_main', 'action': 'manage_main',
'help': ('OFSP','ObjectManager_Contents.stx')}, 'help': ('OFSP','ObjectManager_Contents.stx')},
...@@ -354,7 +356,7 @@ class Catalog(Folder, ...@@ -354,7 +356,7 @@ class Catalog(Folder,
'help': ('OFSP','Security.stx')}, 'help': ('OFSP','Security.stx')},
{'label': 'Ownership', # TAB: Ownership {'label': 'Ownership', # TAB: Ownership
'action': 'manage_owner', 'action': 'manage_owner',
'help': ('OFSP','Ownership.stx'),} 'help': ('OFSP','Ownership.stx')},
) + OFS.History.Historical.manage_options ) + OFS.History.Historical.manage_options
__ac_permissions__= ( __ac_permissions__= (
......
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