diff options
| author | Nans Lefebvre <len@odoo.com> | 2019-03-20 14:04:56 +0000 |
|---|---|---|
| committer | Nans Lefebvre <len@odoo.com> | 2019-03-21 07:24:36 +0000 |
| commit | e02a9077b99418d144db1cbdd0f80090744f6875 (patch) | |
| tree | 1a24bcc75450fe5970625f5d0d735c726accbe70 /addons/web/static/src/xml | |
| parent | 4218f3b5fb8a63983be5a13700f9d36fafc3102d (diff) | |
[FIX] payment_adyen: convert the paymentAmount respecting the Adyen API
Adyen requires the amount to be multiplied by 10^k,
where k depends on the currency code.
https://docs.adyen.com/developers/development-resources/currency-codes
Provides a map of codes to factors.
Before, k was assumed to be 2 (which is correct in most cases).
opw 1928918
closes odoo/odoo#31984
Signed-off-by: Nans Lefebvre (len) <len@odoo.com>
Diffstat (limited to 'addons/web/static/src/xml')
0 files changed, 0 insertions, 0 deletions
