[Erp5-dev] CurrencyExchange_getExchangeRateList - is it usable?
Łukasz Nowak
lukasz.nowak at ventis.com.pl
Tue Feb 6 11:10:01 CET 2007
Hello,
Sebastien Robin napisał(a):
(...)
> You should see why the stop_date is not taken into account.
I think that I'm not able to find out why it isn't working.
> It is already used here for erp5_banking business template, and it works
> properly.
So I'm doing something wrong. I've attached unit test which is
simulation of steps made by me for getting currency exchange system to
work. It is based on clicks made *from UI* on clean and fresh (todays)
system.
As you can see it do not works.
After changing:
'start_date':start_date
to
'stop_date':start_date
in CurrencyExchange_getExchangeRateList this test passes well.
So only one question remains: what have I done wrong?
I cannot figure out how to configure currencies correctly - I wasn't
able to find any tests, which would aim to it.
Thanks for any tip,
Luke
--
Łukasz Nowak R&D Ventis http://www.ventis.com.pl/
tel: +48 32 768 16 85 fax: +48 32 392 10 61
``Use the Source, Luke...''
-------------- next part --------------
A non-text attachment was scrubbed...
Name: testCurrencyExchange.py
Type: text/x-python
Size: 5550 bytes
Desc: not available
URL: <http://mail.tiolive.com/pipermail/erp5-dev/attachments/20070206/e85cff0c/attachment.py>
More information about the Erp5-dev
mailing list