From c0af2c9374aa79d983f692f4b68456ab26efb69e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Mon, 23 Apr 2007 17:23:52 +0000
Subject: [PATCH] Fix NameError in ERP5Accounting_getParams

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

diff --git a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/ERP5Accounting_getParams.xml b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/ERP5Accounting_getParams.xml
index a5f13da7f1..905182f16e 100644
--- a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/ERP5Accounting_getParams.xml
+++ b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/ERP5Accounting_getParams.xml
@@ -160,7 +160,7 @@ if simulation_state:\n
 \n
 portal_type = selection_params.get(\'movement_portal_type\', None)\n
 if portal_type:\n
-  params[\'portal_type\'] = movement_portal_type\n
+  params[\'portal_type\'] = portal_type\n
 else:\n
   parent_portal_type = selection_params.get(\'parent_portal_type\', None)\n
   if parent_portal_type:\n
@@ -236,7 +236,6 @@ return dict(params)\n
                             <string>payment_uid</string>
                             <string>simulation_state</string>
                             <string>portal_type</string>
-                            <string>movement_portal_type</string>
                             <string>parent_portal_type</string>
                           </tuple>
                         </value>
diff --git a/bt5/erp5_accounting/bt/revision b/bt5/erp5_accounting/bt/revision
index b1ef57c1f7..02225a563f 100644
--- a/bt5/erp5_accounting/bt/revision
+++ b/bt5/erp5_accounting/bt/revision
@@ -1 +1 @@
-265
\ No newline at end of file
+268
\ No newline at end of file
-- 
2.30.9