diff options
| author | Kinjal Mehta <kme@odoo.com> | 2018-03-13 19:08:59 +0530 |
|---|---|---|
| committer | Simon Lejeune <sle@openerp.com> | 2018-03-23 10:36:22 +0100 |
| commit | e3a0d926d6e7d13a54537e1fb3d3a29f6922159b (patch) | |
| tree | bd09145c59b19245385f0c5eaaa6546ff565cfb2 /addons/web/static/src/js/views/basic/basic_model.js | |
| parent | 8e564993fc9fad4aa456d5251f93b49e29446c15 (diff) | |
[FIX] stock : rounding in the traceability report
- Call to float_round(3.570, precision_rounding=0.001) returns 3.5700000000000003 instead of returning 3.570 (in the _compute_quantity method).
- This report is all prepared server side so directly called value_to_html method to set the value of quantity with appropriate decimal precision to get proper value in Upstream Traceability report
Fixes #22815
Task #1817420
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions
