Commit d5c471ca authored by Jérome Perrin's avatar Jérome Perrin

Use getParentValue instead of getParent


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23559 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a637a80c
......@@ -66,7 +66,7 @@
<item>
<key> <string>_body</string> </key>
<value> <string>currency_exchange_type_list = [x[0] for x in context.portal_categories.currency_exchange_type.getCategoryChildItemList(base=1)[1:]]\n
resource_list = [\'resource/%s\' % context.getParent().getRelativeUrl()]\n
resource_list = [\'resource/%s\' % context.getParentValue().getRelativeUrl()]\n
price_currency_list = [\'price_currency/%s\' % context.getPriceCurrency()]\n
\n
return (currency_exchange_type_list, resource_list, price_currency_list)\n
......
423
\ No newline at end of file
424
\ 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