Commit 37eaef2e authored by Jérome Perrin's avatar Jérome Perrin

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
parent 33d357b4
...@@ -74,8 +74,6 @@ request.other[\'is_accounting_report\'] = True\n ...@@ -74,8 +74,6 @@ request.other[\'is_accounting_report\'] = True\n
# role_filter_list == None means no filter on the role\n # role_filter_list == None means no filter on the role\n
if role_filter_list == [\'\'] :\n if role_filter_list == [\'\'] :\n
role_filter_list = None\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 \n
section_uid = context.Base_getSectionUidListForSectionCategory(\n section_uid = context.Base_getSectionUidListForSectionCategory(\n
request[\'section_category\'],\n request[\'section_category\'],\n
...@@ -224,16 +222,13 @@ return result\n ...@@ -224,16 +222,13 @@ return result\n
<string>gap_root</string> <string>gap_root</string>
<string>True</string> <string>True</string>
<string>_write_</string> <string>_write_</string>
<string>append</string>
<string>$append0</string>
<string>_getiter_</string>
<string>r</string>
<string>section_uid</string> <string>section_uid</string>
<string>result</string> <string>result</string>
<string>params</string> <string>params</string>
<string>portal</string> <string>portal</string>
<string>simulation_tool</string> <string>simulation_tool</string>
<string>entity_columns</string> <string>entity_columns</string>
<string>_getiter_</string>
<string>party</string> <string>party</string>
<string>o</string> <string>o</string>
<string>keep_this_one</string> <string>keep_this_one</string>
......
...@@ -269,7 +269,7 @@ ...@@ -269,7 +269,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>_text</string> </key> <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> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
1212 1213
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment