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:28:19 +0000 |
| commit | 58bfce30fe0871372c1e5b0b3533b8bec990613b (patch) | |
| tree | 4c59a8fbbf947f5207c795a7da185f616f89bd96 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 09e35f2a363de83b7a6516c1070778402a0a0ff3 (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#32001
Signed-off-by: Nans Lefebvre (len) <len@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
