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
# 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>
......
......@@ -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>
......
1212
\ No newline at end of file
1213
\ 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