diff options
| author | Lucas Perais (lpe) <lpe@odoo.com> | 2017-12-01 11:35:03 +0100 |
|---|---|---|
| committer | Lucas Perais (lpe) <lpe@odoo.com> | 2017-12-05 13:46:06 +0100 |
| commit | 2a86e9245c91d6564257aad4ed69673576f10918 (patch) | |
| tree | 87f8062afb6d267a9ce78476be768ff8fa43f11a /addons/web/static/src/js/fields/basic_fields.js | |
| parent | e7d174a1422e2f8bfd849134767d5f43383599b0 (diff) | |
[FIX][BACKPORT] Always round monetary values in database
backport of afef71d6b92a2741ab56b4d039eba1624a45197f
Original commit message:
Let `create` and `write` round monetary field values before sending them to the
database. Pass the values to be written to `field.convert_to_column`, so that
the currency can be retrieved from the values, and the value be rounded.
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions
