diff --git a/product/ERP5/Document/NodeBudgetVariation.py b/product/ERP5/Document/NodeBudgetVariation.py
index 817e8c160cbe7479e8ca524d977ad0309a4f5a0f..f89f16bcfea85774601e3fee24b9f28ee49db43f 100644
--- a/product/ERP5/Document/NodeBudgetVariation.py
+++ b/product/ERP5/Document/NodeBudgetVariation.py
@@ -39,7 +39,7 @@ class VirtualNode(object):
 
   This virtual document can be used in budget variations.
   """
-  __allow_access_to_unprotected_subobjects__ = True
+  __allow_access_to_unprotected_subobjects__ = 1
   def __init__(self, relative_url):
     """The Virtual Node will use the relative URL of the budget line for
     memberships.
diff --git a/product/ERP5Type/ConnectionPlugin/SOAPWSDLConnection.py b/product/ERP5Type/ConnectionPlugin/SOAPWSDLConnection.py
index 020de97185ec74e2fa5687b9f78a0aa07849682f..f8f38fd91ed3a4b0550f3e6f6ce994e4ed7f56a5 100644
--- a/product/ERP5Type/ConnectionPlugin/SOAPWSDLConnection.py
+++ b/product/ERP5Type/ConnectionPlugin/SOAPWSDLConnection.py
@@ -38,7 +38,7 @@ import threading
 
 class SOAPWSDLException(Exception):
 
-  __allow_access_to_unprotected_subobjects__ = True
+  __allow_access_to_unprotected_subobjects__ = 1
 
   def __init__(self, code, name, info):
     self.code = code
@@ -115,7 +115,7 @@ allow_class(HeaderAuthentication)
 
 class WSDLConnection(object):
 
-  __allow_access_to_unprotected_subobjects__ = True
+  __allow_access_to_unprotected_subobjects__ = 1
 
   def __init__(self, wsdl, credentials, service):
     self._wsdl = wsdl
@@ -138,7 +138,7 @@ class WSDLConnection(object):
 
 class PortWrapper(object):
 
-  __allow_access_to_unprotected_subobjects__ = True
+  __allow_access_to_unprotected_subobjects__ = 1
 
   def __init__(self, port):
     self._port = port
@@ -148,7 +148,7 @@ class PortWrapper(object):
 
 class MethodWrapper(object):
 
-  __allow_access_to_unprotected_subobjects__ = True
+  __allow_access_to_unprotected_subobjects__ = 1
 
   def __init__(self, method):
     self._method = method