From 37eaef2e2768409eef808583c6cc580df39e61ef Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Mon, 24 May 2010 09:22:20 +0000
Subject: [PATCH] use base=True rather than prepending base category in script

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

diff --git a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getOtherPartiesReportSectionList.xml b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getOtherPartiesReportSectionList.xml
index f59bd81403..e5468c39b9 100644
--- a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getOtherPartiesReportSectionList.xml
+++ b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getOtherPartiesReportSectionList.xml
@@ -74,8 +74,6 @@ request.other[\'is_accounting_report\'] = True\n
 # role_filter_list == None means no filter on the role\n
 if role_filter_list == [\'\'] :\n
   role_filter_list = None\n
-if role_filter_list:\n
-  role_filter_list = [\'role/%s\' % r for r in role_filter_list]\n
   \n
 section_uid = context.Base_getSectionUidListForSectionCategory(\n
                                              request[\'section_category\'],\n
@@ -224,16 +222,13 @@ return result\n
                             <string>gap_root</string>
                             <string>True</string>
                             <string>_write_</string>
-                            <string>append</string>
-                            <string>$append0</string>
-                            <string>_getiter_</string>
-                            <string>r</string>
                             <string>section_uid</string>
                             <string>result</string>
                             <string>params</string>
                             <string>portal</string>
                             <string>simulation_tool</string>
                             <string>entity_columns</string>
+                            <string>_getiter_</string>
                             <string>party</string>
                             <string>o</string>
                             <string>keep_this_one</string>
diff --git a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_viewOtherPartiesReportDialog/your_entity_role.xml b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_viewOtherPartiesReportDialog/your_entity_role.xml
index 486c388f7c..9f2ae5ed20 100644
--- a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_viewOtherPartiesReportDialog/your_entity_role.xml
+++ b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_viewOtherPartiesReportDialog/your_entity_role.xml
@@ -269,7 +269,7 @@
       <dictionary>
         <item>
             <key> <string>_text</string> </key>
-            <value> <string>python:here.portal_categories.role.getCategoryChildTranslatedLogicalPathItemList(base=0)</string> </value>
+            <value> <string>python:here.portal_categories.role.getCategoryChildTranslatedLogicalPathItemList(base=True)</string> </value>
         </item>
       </dictionary>
     </pickle>
diff --git a/bt5/erp5_accounting/bt/revision b/bt5/erp5_accounting/bt/revision
index f73dd741ec..847dd1814f 100644
--- a/bt5/erp5_accounting/bt/revision
+++ b/bt5/erp5_accounting/bt/revision
@@ -1 +1 @@
-1212
\ No newline at end of file
+1213
\ No newline at end of file
-- 
2.30.9