odoo/odoo — pull request #1318 by ddico (2014-07-22 20:28:25+00:00)
Title: Bank Statement - reconciled move lines have wrong amount if multi currency

Impacted versions:
8.0 and above

Steps to reproduce:
Create a bank statement in a currency different than home currency. Enter the amount in the amount_currency field. Reconcile it

Current behavior:
a move line will be created with 0 amount in DB and CR (as the current compute function is using the "amount" instead of the "amount_currency")

Expected behavior:
a move line with correct amount in DB or CR as per the exchange rate