summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/js
diff options
context:
space:
mode:
authorRémy Voet (ryv) <ryv@odoo.com>2021-02-04 16:15:41 +0000
committerRémy Voet (ryv) <ryv@odoo.com>2021-02-23 09:59:32 +0000
commit90694e09d4e7ebd888c0e0386e739e487a65b9b4 (patch)
tree26588b813fe1d8978c971ee3b19efcc1d866e11d /addons/web_editor/static/src/js
parent9c5f2c8b18770c3810a9d657970d44f3cf9e6d15 (diff)
[FIX] stock_account: fix rounding adjustment
This fix (odoo/odoo#46850) was too permissive and fix too much stock valuation issues (other than rounding error) under the hood. The problem of the "too permissive" is will hide some errors without get any feedback about them. Also, it changes the SVL value without any explanation. To avoid the first issue, apply a threshold on the rounding adjustment. This threshold is '(quantity_out * smallest_value_of_the_currency) / 2' (`smallest_value_of_the_currency` = `rounding` field of the related currency). Also to improve debugging, add a line in the description about the rounding adjustment done in a SVL task-2452786 closes odoo/odoo#66662 X-original-commit: 74ba8039c7e300bb2adeda8cd071df4272b3635a Signed-off-by: William Henrotin <Whenrow@users.noreply.github.com>
Diffstat (limited to 'addons/web_editor/static/src/js')
0 files changed, 0 insertions, 0 deletions