Commit c0110369 authored by Jérome Perrin's avatar Jérome Perrin

PythonScript: fix Zope4 ZMI icon for ERP5 Python Script

parent da7a6e26
...@@ -71,6 +71,7 @@ class PythonScript(XMLObject, ZopePythonScript, ExpressionMixin('expression')): ...@@ -71,6 +71,7 @@ class PythonScript(XMLObject, ZopePythonScript, ExpressionMixin('expression')):
meta_type = 'ERP5 Python Script' meta_type = 'ERP5 Python Script'
portal_type = 'Python Script' portal_type = 'Python Script'
add_permission = Permissions.AddPortalContent add_permission = Permissions.AddPortalContent
zmi_icon = ZopePythonScript.zmi_icon
# Declarative security # Declarative security
security = ClassSecurityInfo() security = ClassSecurityInfo()
......
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