diff --git a/product/ERP5Type/patches/ActionInformation.py b/product/ERP5Type/patches/ActionInformation.py index 92b948e03455c3e55ee0540940121bfd14cd1eca..e0d243d58f6f81aaa18c7b8a6465c2fbcb98ada6 100755 --- a/product/ERP5Type/patches/ActionInformation.py +++ b/product/ERP5Type/patches/ActionInformation.py @@ -12,14 +12,13 @@ # ############################################################################## -from Products.CMFCore import ActionInformation +from Products.CMFCore.ActionInformation import ActionInformation from AccessControl import ClassSecurityInfo from Products.CMFCore.Expression import Expression from types import StringType -ActionInformation.oldActionInformation = ActionInformation.ActionInformation - -class PatchedActionInformation(ActionInformation.oldActionInformation): +#class PatchedActionInformation(ActionInformation.oldActionInformation): +if 1: security = ClassSecurityInfo() @@ -144,4 +143,14 @@ class PatchedActionInformation(ActionInformation.oldActionInformation): , optional=self.getOption() ) -ActionInformation.ActionInformation = PatchedActionInformation +#ActionInformation.ActionInformation = PatchedActionInformation +ActionInformation.__init__ = __init__ +ActionInformation.getAction = getAction +ActionInformation._getIconObject = _getIconObject +ActionInformation.getIconExpression = getIconExpression +ActionInformation.setIconExpression = setIconExpression +ActionInformation.getOption = getOption +ActionInformation.getPriority = getPriority +ActionInformation.clone = clone + +PatchedActionInformation = ActionInformation