From 3f918866835cab19c2a10af75cdf6a8a1a4ecbaf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Aur=C3=A9lien=20Calonne?= <aurel@nexedi.com>
Date: Wed, 6 Dec 2006 08:50:31 +0000
Subject: [PATCH] remove acquisition when storing selection

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

diff --git a/product/ERP5Form/SelectionTool.py b/product/ERP5Form/SelectionTool.py
index c11344ad39..5e5c948f7d 100644
--- a/product/ERP5Form/SelectionTool.py
+++ b/product/ERP5Form/SelectionTool.py
@@ -196,7 +196,7 @@ class SelectionTool( UniqueObject, SimpleItem ):
         if user_id is not None:
           if not self.selection_data.has_key(user_id):
             self.selection_data[user_id] = PersistentMapping()
-          self.selection_data[user_id][selection_name] = selection_object
+          self.selection_data[user_id][selection_name] = aq_base(selection_object)
         return
 
       #try: CAUSES PROBLEMS WHY ??
-- 
2.30.9