diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2018-04-10 11:41:47 +0200 |
|---|---|---|
| committer | Nicolas Martinelli <nim-odoo@users.noreply.github.com> | 2018-04-10 16:05:23 +0200 |
| commit | b7462ca224a0e4a423e1c230f0d2e46a1b9c34fa (patch) | |
| tree | 910da97e6f5bfb2c518f565146352b6e82e9fcec /addons/web/static/src/js/views/basic/basic_model.js | |
| parent | 076cf05c2ecbd5d2157dc910c475a0d4def9b3a1 (diff) | |
[FIX] payment_authorize: number of decimals
- Create a SO of 56.16
- Send the payment link to the customer
At payment, the transaction is refused by Authorize because of an
invalid amount.
When looking closely, the data sent to Authorize contains the amount
56.160000000001. This is due to the float representation. To avoid this,
we use `float_repr` instead of `str`.
opw-1832468
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions
