summaryrefslogtreecommitdiff
path: root/addons/base_setup/data/base_setup_data.xml
diff options
context:
space:
mode:
authorJose Morales <jose@vauxoo.com>2019-02-11 17:05:36 +0000
committerLuis González <lgonzalez@vauxoo.com>2019-02-11 17:06:14 +0000
commit2d2fe7f555ce5e866350f9338b5371925b1cbe0d (patch)
tree4055d98c2b6fc4c1923741bffee8ca959e264587 /addons/base_setup/data/base_setup_data.xml
parent2503a89e9e406804547e63544622f67431ae3c1a (diff)
[FIX] account: reconcile over-amount bank statements in foreign currencies
When a bank statement reconciles its lines with payment using a foreign currency, there is a mix up of values between the currency set in bank statement and payment against the company currency. Current Behavior Company Currency: MXN Bank Statement Currency: USD Payment Currency: USD Current Rate 0.05130836 1) Generate a bank statement with 990 USD. 2) Generate a payment with 1000 USD. 3) Reconcile the bank statement against the payment. The reconcile process generates a payment with the difference (10 USD) Before this commit, this automatically created payment took an erroneous amount, Taking a currency-converted amount where it should not have It was happening because the reconcile process uses the debit or credit value(Local Currency) against bank statement line amount (Foreign Currency). After this commit, the amount set in the generated payment because of the difference is 10 USD. closed odoo#30623 closes odoo/odoo#30779
Diffstat (limited to 'addons/base_setup/data/base_setup_data.xml')
0 files changed, 0 insertions, 0 deletions