From b5973199ec4a3eaae4a25628b3018b7ff2d0d454 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Wed, 14 Apr 2010 08:24:27 +0000
Subject: [PATCH] fallback to parent _aq_dynamic, so that other accessors work

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34538 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5Form/Tool/SelectionTool.py | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/product/ERP5Form/Tool/SelectionTool.py b/product/ERP5Form/Tool/SelectionTool.py
index bf42737fe2..1175dad6d7 100644
--- a/product/ERP5Form/Tool/SelectionTool.py
+++ b/product/ERP5Form/Tool/SelectionTool.py
@@ -1363,9 +1363,7 @@ class SelectionTool( BaseTool, UniqueObject, SimpleItem ):
             setattr(klass, security_property_id, None)
 
             return getattr(self, name)
-        else:
-          return aq_base_name
-      return aq_base_name
+      return SelectionTool.inheritedAttribute('_aq_dynamic')(self, name)
 
     def _getUserId(self):
       return self.portal_membership.getAuthenticatedMember().getUserName()
-- 
2.30.9