Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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#46039 Signed-off-by: Laurent Smet <[email protected]>
- Loading branch information