From 862db0ed3af94de54913686aacaac0ad2ca339ee Mon Sep 17 00:00:00 2001
From: Sebastien Robin <seb@nexedi.com>
Date: Wed, 4 Apr 2007 21:38:26 +0000
Subject: [PATCH] fixed undefined variable

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13947 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../erp5_banking_core/CashDelivery_checkCounterInventory.xml   | 3 +--
 bt5/erp5_banking_core/bt/revision                              | 2 +-
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/CashDelivery_checkCounterInventory.xml b/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/CashDelivery_checkCounterInventory.xml
index bd14364a2a..85daaf26a5 100644
--- a/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/CashDelivery_checkCounterInventory.xml
+++ b/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/CashDelivery_checkCounterInventory.xml
@@ -124,7 +124,7 @@ for line in line_list :\n
     source_counter = source\n
   # Make sure there is no reindex with the tag of this counter\n
   if not serialize_dict.has_key(source_counter):\n
-    serialize_dict[key] = 1\n
+    serialize_dict[source_counter] = 1\n
     source_object = context.portal_categories.getCategoryValue(source_counter)\n
     source_object.serialize()\n
   # Reindex this line with this particular source_counter tag\n
@@ -235,7 +235,6 @@ return 0\n
                             <string>line</string>
                             <string>line_resource</string>
                             <string>_write_</string>
-                            <string>key</string>
                             <string>source_object</string>
                             <string>activate_kw</string>
                             <string>cell</string>
diff --git a/bt5/erp5_banking_core/bt/revision b/bt5/erp5_banking_core/bt/revision
index 80945bc436..1edbdbab42 100644
--- a/bt5/erp5_banking_core/bt/revision
+++ b/bt5/erp5_banking_core/bt/revision
@@ -1 +1 @@
-183
\ No newline at end of file
+185
\ No newline at end of file
-- 
2.30.9