From 7a71645f9fe7f4ba92b5f0969210452cbf1cbe7a Mon Sep 17 00:00:00 2001
From: Jean-Paul Smets <jp@nexedi.com>
Date: Tue, 6 Jan 2004 13:50:05 +0000
Subject: [PATCH] better handling of URLs

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@166 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5/Extensions/InventoryBrain.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/product/ERP5/Extensions/InventoryBrain.py b/product/ERP5/Extensions/InventoryBrain.py
index 38bc87e26ab..9763d28736c 100755
--- a/product/ERP5/Extensions/InventoryBrain.py
+++ b/product/ERP5/Extensions/InventoryBrain.py
@@ -12,7 +12,7 @@
 #
 ##############################################################################
 
-from Products.ERP5.ERP5Globals import default_section_category, current_inventory_state_list
+from Products.ERP5.ERP5Globals import default_section_category, current_inventory_state_list, reserved_inventory_state_list
 from Products.ZSQLCatalog.zsqlbrain import ZSQLBrain
 from DateTime import DateTime
 from ZTUtils import make_query
@@ -203,7 +203,7 @@ class InventoryListBrain(ZSQLBrain):
         resource = self.portal_categories.unrestrictedTraverse(self.resource_relative_url)
         return '%s/Resource_movementHistoryView?%s' % (resource.absolute_url(),
           make_query(variation_text=self.variation_text, selection_name=selection_name, selection_index=selection_index,
-                     simulation_state=current_inventory_state_list))
+                     simulation_state=list(current_inventory_state_list)))
       else:
         resource = self.portal_categories.unrestrictedTraverse(self.resource_relative_url)
         return '%s/Resource_movementHistoryView?%s' % (resource.absolute_url(),
-- 
2.30.9