Commit 0811bb24 authored by Jérome Perrin's avatar Jérome Perrin

getCategoryChildRelativeUrlList does not want base=True, otherwise the base

category is present twice. This restores same behaviour as before 38304


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@38327 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent fbf5e0f6
......@@ -50,7 +50,7 @@
</item>
<item>
<key> <string>_body</string> </key>
<value> <string>currency_exchange_type_list = context.portal_categories.currency_exchange_type.getCategoryChildRelativeUrlList(base=True)\n
<value> <string>currency_exchange_type_list = context.portal_categories.currency_exchange_type.getCategoryChildRelativeUrlList() \n
resource_list = [\'resource/%s\' % context.getParentValue().getRelativeUrl()]\n
price_currency_list = [context.getPriceCurrency(base=True)]\n
\n
......@@ -95,9 +95,9 @@ return (currency_exchange_type_list, resource_list, price_currency_list)\n
<string>kw</string>
<string>_getattr_</string>
<string>context</string>
<string>True</string>
<string>currency_exchange_type_list</string>
<string>resource_list</string>
<string>True</string>
<string>price_currency_list</string>
</tuple>
</value>
......
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