diff --git a/product/ERP5/Document/PythonScript.py b/product/ERP5/Document/PythonScript.py
index 8a2254069e7475cb7c408bb45e6d1ab19590dd74..405d62a56265e30cb71c15a547e0b23b8aa1f3b7 100644
--- a/product/ERP5/Document/PythonScript.py
+++ b/product/ERP5/Document/PythonScript.py
@@ -56,18 +56,14 @@ class PythonScriptThroughZMI(XMLObject):
 
     This class needs to be removed as soon as portal_skins is an ERP5 object
     """
-    meta_type = 'ERP5 Python Script Through ZMI'
-    portal_type = 'Python Script Through ZMI'
-    add_permission = Permissions.AddPortalContent
-
-    # Declarative security
-    security = ClassSecurityInfo()
-    security.declareObjectProtected(Permissions.AccessContentsInformation)
-
-    constructors =  (manage_addPythonScriptFormThroughZMI, 
+    meta_type = 'ERP5 Python Script'
+    constructors =  (manage_addPythonScriptFormThroughZMI,
                      addPythonScriptThroughZMI)
     icon = None
 
+    def __init__(self, *args, **kw):
+      assert False
+
 class PythonScript(XMLObject, ZopePythonScript):
     """ Script python for ERP5
     """