summaryrefslogtreecommitdiff
path: root/doc/reference/javascript.rst
diff options
context:
space:
mode:
authorNicolas Martinelli <nim@odoo.com>2017-01-31 14:48:40 +0100
committerNicolas Martinelli <nim@odoo.com>2017-01-31 15:33:10 +0100
commitac66f296aad9129251587faaa7c304de1716a494 (patch)
treeb92c8ff90c21a868b367c8301fc5e25117ae330b /doc/reference/javascript.rst
parent125f608e1ae9264fb2c2a3160974b68dd70db779 (diff)
[FIX] stock: qty in pack operations
- Enable lot tracking on Product A - UoM of Product A is kg, but Purchase UoM is lb(s) - Create a PO for 200 lb(s) of Product A, confirm - Go in the picking: 200.01 lb(s) shuold be received according to the pack operation, while 200.00 lb(s) are expected in the stock move. The field `product_qty` on the sotck move contains the quantity in kg, but already rounded from the value in lb(s). If we convert it back to lb(s), there might obviously be a rounding error, since we do: lb(s) -> kg -> lb(s) To solve this, we recompute the quantity in the UoM of the product without rounding, as a temporary computational value. opw-705259
Diffstat (limited to 'doc/reference/javascript.rst')
0 files changed, 0 insertions, 0 deletions