diff options
| author | Olivier Colson <oco@odoo.com> | 2018-05-04 16:41:11 +0200 |
|---|---|---|
| committer | Olivier Colson <oco@odoo.com> | 2018-05-04 16:43:41 +0200 |
| commit | d13ce05c9641c0b56eb4e270339948e59a542874 (patch) | |
| tree | 31a94717a118ba6e192fb5705ce414f52fe35cc5 /addons/web_editor/static/src/js/transcoder.js | |
| parent | f12daec1a1dba46ec4e26ce7c313bc132f9537f8 (diff) | |
[FIX] account: use company currency in _compute_matched_percentage in case no currency is set on account.move
When a move or move line is supposed to use the company currency, its currency_id field is empty. _compute_matched_percentage did not take this into account, causing the rounding method to sometimes be called with a precision equal to False, resulting in erronous and weird behavior (0 was considered different from 0, causing a division by zero in the following condition).
Diffstat (limited to 'addons/web_editor/static/src/js/transcoder.js')
0 files changed, 0 insertions, 0 deletions
