From 99733ea2b5955b12315648411377fbde885bf4b7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Aur=C3=A9lien=20Calonne?= <aurel@nexedi.com>
Date: Fri, 1 Dec 2006 13:18:52 +0000
Subject: [PATCH] do not acquire property here

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@11571 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5Type/Base.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/product/ERP5Type/Base.py b/product/ERP5Type/Base.py
index c4a8b02211..555bfe5f7c 100644
--- a/product/ERP5Type/Base.py
+++ b/product/ERP5Type/Base.py
@@ -650,7 +650,7 @@ class Base( CopyContainer,
     if storage_id is None: storage_id=key
     #LOG("Get Acquired Property storage_id",0,str(storage_id))
     # If we hold an attribute and mask_value is set, return the attribute
-    value = getattr(self, storage_id, None)
+    value = getattr(aq_base(self), storage_id, None)
     if mask_value and value is not None:
       # Pop context
       del TRANSACTION._erp5_acquisition_stack[acquisition_key]
-- 
2.30.9