diff options
| author | Nans Lefebvre <len@odoo.com> | 2019-06-14 08:50:32 +0000 |
|---|---|---|
| committer | Nans Lefebvre <len@odoo.com> | 2019-06-14 11:25:56 +0000 |
| commit | a5a4b154ee4e4d83f99b35b8899ad406dbee6b12 (patch) | |
| tree | 16b3b4de45200f53be71dc4d56b18a991dfe3c6d /addons/web/static/src/js/fields/basic_fields.js | |
| parent | 963475bcfd75fe0a35401c7343d14937aa7f0d74 (diff) | |
[FIX] stock_account: round quantities to UoM precision when updating moves
Have a product P values in FIFO, create an incoming stock move.
Suppose P has UoM U with rounding R, and the stock move has quantity Q.
Edit the quantity done to be Q + e, with e << R.
By the semantic of the UoM rounding, this should mean that no change has been
done. However no such check was done, so the move was updated.
As a result, this would mess up the valuation of P.
opw 2006831
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions
