Commit f961abbf authored by Sebastien Robin's avatar Sebastien Robin

define also a base price on the line

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14207 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 93f432d5
......@@ -314,6 +314,7 @@ class TestERP5BankingMixin:
exchange_line = currency.newContent(portal_type='Currency Exchange Line',
start_date='01/01/1900',stop_date='01/01/2900',
price_currency='currency_module/EUR',
base_price=652,
currency_exchange_type_list=['currency_exchange_type/sale',
'currency_exchange_type/purchase',
'currency_exchange_type/transfer'],
......@@ -327,6 +328,7 @@ class TestERP5BankingMixin:
exchange_line = currency.newContent(portal_type='Currency Exchange Line',
start_date='01/01/1900',stop_date='01/01/2900',
price_currency='currency_module/USD',
base_price=1./652,
currency_exchange_type_list=['currency_exchange_type/sale',
'currency_exchange_type/purchase',
'currency_exchange_type/transfer'],
......
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