Files
odoo_source/addons/account_payment
Thibault Francois c78bfb1da9 [FIX] account_payment: send amount in right currency
While sending payment request to acquirer
the amount used was the amout_residual_signed

This amound is in the currency of the company
and may be negative.

The currency send to the acquirer is the
currency on the invoice so you expect the
amount to be in the same currency and
being positive

amount_residual is exactly that amount

Solution: user amount_residual
          instead of amount_residual_signed

closes odoo/odoo#46082

X-original-commit: 1d1d5e27b4ad9f5ecbca60d8dacd4620d25dda99
Signed-off-by: Laurent Smet <smetl@users.noreply.github.com>
2020-02-24 11:50:06 +00:00
..
2019-12-10 10:00:18 +00:00