From 70bda068be9cbc34669169b6c2bdb24a64f50ff3 Mon Sep 17 00:00:00 2001 From: Sebastien Robin <seb@nexedi.com> Date: Tue, 6 Jan 2004 13:48:34 +0000 Subject: [PATCH] an import was missing git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@164 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5Type/FormulatorPatch.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/product/ERP5Type/FormulatorPatch.py b/product/ERP5Type/FormulatorPatch.py index 3c994c2e7e..42b2d6d1b2 100755 --- a/product/ERP5Type/FormulatorPatch.py +++ b/product/ERP5Type/FormulatorPatch.py @@ -21,9 +21,12 @@ ############################################################################## from Products.Formulator.Field import Field +from AccessControl import ClassSecurityInfo class PatchedField: + security = ClassSecurityInfo() + security.declareProtected('Access contents information', 'generate_field_key') def generate_field_key(self, validation=0, key=None): @@ -146,4 +149,4 @@ class PatchedMultiSelectionValidator(MultiSelectionValidator): # everything checks out return result -MultiSelectionValidator.validate = PatchedMultiSelectionValidator.validate \ No newline at end of file +MultiSelectionValidator.validate = PatchedMultiSelectionValidator.validate -- 2.30.9