Commit a029d3e2 authored by Sebastien Robin's avatar Sebastien Robin

removed unused call to getPredicateList

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@11293 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b4e9a93b
......@@ -104,19 +104,12 @@ if to_currency is not None:\n
mapped_value = context.portal_domains.generateMappedValue(object, \n
has_cell_content=0, \n
sort_method=sort_by_date)\n
predicate_list = context.portal_domains.searchPredicateList(object,\n
has_cell_content=0,\n
sort_method=sort_by_date)\n
predicate_list = context.portal_domains.searchPredicateList(object,\n
has_cell_content=0,\n
sort_method=sort_by_date,\n
test=0)\n
result = [getattr(mapped_value, \'base_price\', None), \n
getattr(mapped_value, \'discount\', None)]\n
return result\n
# The cache duration must not be too long, 300 is the maximum\n
calculateExchangeFromParameters = CachingMethod(calculateExchangeFromParameters, \n
id = \'calculateExchangeFromParameterss\', cache_duration = 0)\n
id = \'calculateExchangeFromParameterss\', cache_duration = 300)\n
result = calculateExchangeFromParameters(start_date=start_date,\n
currency_exchange_type=currency_exchange_type,\n
from_currency=from_currency,to_currency=to_currency)\n
......
68
\ No newline at end of file
71
\ 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