From f5f9bab115353b6cdac8dde8606f3fe7f8862765 Mon Sep 17 00:00:00 2001
From: Vincent Pelletier <vincent@nexedi.com>
Date: Fri, 26 Dec 2008 13:53:07 +0000
Subject: [PATCH] In addition to storing translated simulation state title,
 also store bare simulation state.

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

diff --git a/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/Base_getResourceInformationDictFromUrlAndVariation.xml b/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/Base_getResourceInformationDictFromUrlAndVariation.xml
index cd0ccfa49a..73d06c5088 100644
--- a/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/Base_getResourceInformationDictFromUrlAndVariation.xml
+++ b/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/Base_getResourceInformationDictFromUrlAndVariation.xml
@@ -160,6 +160,7 @@ if movement is not None: # case of history\n
   explanation_portal_type = catalog_explanation.portal_type\n
   if display_simulation_state:\n
     simulation_state = catalog_explanation.simulation_state\n
+    resource_dict[\'simulation_state\'] = simulation_state\n
     simulation_state_title = cache_translated_simulation_state.get((explanation_portal_type,simulation_state), None)\n
     if simulation_state_title is None:\n
       portal = context.getPortalObject()\n
diff --git a/bt5/erp5_banking_core/bt/revision b/bt5/erp5_banking_core/bt/revision
index 0642336574..6a5426c9b3 100644
--- a/bt5/erp5_banking_core/bt/revision
+++ b/bt5/erp5_banking_core/bt/revision
@@ -1 +1 @@
-473
\ No newline at end of file
+474
\ No newline at end of file
-- 
2.30.9