Commit 998e9e89 authored by Jérome Perrin's avatar Jérome Perrin

use getParentValue, not getParent


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24095 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 60834356
......@@ -61,7 +61,7 @@ kwd = {\'base_id\': base_id}\n
\n
context.updateCellRange(script_id=\'CurrencyExchangeLine_asCellRange\', base_id=base_id)\n
cell_range_key_list = context.getCellRangeKeyList(base_id = base_id)\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
membership_list = resource_list+price_currency_list\n
context.setMembershipCriterionBaseCategoryList([x.split(\'/\')[0] for x in membership_list])\n
......
443
\ No newline at end of file
444
\ 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