[FIX] account: Bank Statement reconcilation with different currency
authorDaniel Dico <dd@oerp.ca>
Tue, 22 Jul 2014 20:17:46 +0000 (16:17 -0400)
committerMartin Trigaux <mat@openerp.com>
Wed, 23 Jul 2014 09:19:41 +0000 (11:19 +0200)
commit42f3575bb3fdc6c0b2a5c43685d7bd99d771f2fd
tree055ecab481bb715c5af7f89488cc37bf23209b78
parente9c92b57b9237f4c13e23264692b6de3ecbad935
[FIX] account: Bank Statement reconcilation with different currency

When generating reconciled moves in bank statement, use the amount_currency field instead of amount for currency conversion.
Otherwise we would endup with moves with an amount of 0.
addons/account/account_bank_statement.py