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 @@ ...@@ -50,7 +50,7 @@
</item> </item>
<item> <item>
<key> <string>_body</string> </key> <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 resource_list = [\'resource/%s\' % context.getParentValue().getRelativeUrl()]\n
price_currency_list = [context.getPriceCurrency(base=True)]\n price_currency_list = [context.getPriceCurrency(base=True)]\n
\n \n
...@@ -95,9 +95,9 @@ return (currency_exchange_type_list, resource_list, price_currency_list)\n ...@@ -95,9 +95,9 @@ return (currency_exchange_type_list, resource_list, price_currency_list)\n
<string>kw</string> <string>kw</string>
<string>_getattr_</string> <string>_getattr_</string>
<string>context</string> <string>context</string>
<string>True</string>
<string>currency_exchange_type_list</string> <string>currency_exchange_type_list</string>
<string>resource_list</string> <string>resource_list</string>
<string>True</string>
<string>price_currency_list</string> <string>price_currency_list</string>
</tuple> </tuple>
</value> </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