odoo/addons/account/tests
Denis Ledoux a475a2721a [FIX] account: foreign exchanges gain/loss in reconciliation
When processing the reconciliation of invoices with bank statements
in foreign currencies, this is possible that there is a cent of difference,
due to the fact
the sum of amount exchanged could not be equal to the exchanged
sum of amount received.

For instance,
with a company in EUR as currency,
with a rate of 0.033 for USD,
with an invoice of 2.00 USD
(60.606060... rounded to 60.61 EUR)
and a bank statement of two lines of 1.00 USD
(30.30303030... rounded to 30.30 EUR)
The exchanged invoice amount, 60.61 EUR, is not equal to the sum of
statement lines exchanged amount (30.30 + 30.30 = 60.60 EUR).

In such a case, two journal items should be created in addition:
 - 0.01 in the debtors account
 - 0.01 in the foreign exchange loss account

opw-640078
2015-05-26 18:18:51 +02:00
..
__init__.py [FIX] account: choosing the right fiscal position 2015-03-24 13:00:39 +01:00
test_account_move_closed_period.py [FIX] account: forbid creating entries on closed period 2015-02-04 15:28:55 +01:00
test_bank_stmt_reconciliation_widget_ui.py [FIX] account: several fixes on the new bank statement reconciliation widget 2014-09-04 11:32:16 +02:00
test_fiscal_position.py [FIX] account: choosing the right fiscal position 2015-03-24 13:00:39 +01:00
test_reconciliation.py [FIX] account: foreign exchanges gain/loss in reconciliation 2015-05-26 18:18:51 +02:00
test_search.py [FIX] search: searching fields.property not set 2015-05-04 12:00:22 +02:00
test_tax.py [TEST] starting unit tests for taxes 2012-11-01 21:39:35 +01:00