Update manage_main. All tabs work well.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@45783 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent fdc3d2a1
......@@ -75,6 +75,11 @@ class PythonScript(XMLObject, ZopePythonScript):
# Declarative security
security = ClassSecurityInfo()
security.declareObjectProtected(Permissions.AccessContentsInformation)
#View content list, Force /view, Standart option in python scripts
manage_options = ( XMLObject.manage_options[0],
{'icon':'', 'label':'View','action':'view'}) \
+ ZopePythonScript.manage_options
# Declarative properties
property_sheets = ( PropertySheet.Base
......
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