summaryrefslogtreecommitdiff
path: root/addons/analytic_user_function/analytic_user_function.py
diff options
context:
space:
mode:
authorMart Raudsepp <mart@povi.ee>2014-12-02 13:26:17 +0000
committerJosse Colpaert <jco@odoo.com>2014-12-03 16:10:58 +0100
commit7a979b2d3e4dd012f129ca2911648ef33338323b (patch)
tree4b206dc41434d075916c45bec04cb84ffc3f9f96 /addons/analytic_user_function/analytic_user_function.py
parent05de60cbf91e62ca03eee8fe91c0856dbd687941 (diff)
[FIX] Fix floating point handling in purchase _prepare_order_line_move
Without this better floating point handling, an extra stock move might be created for zero quantity for some order lines upon PO confirmation, because qty is equal to something closer to e.g 1.14e-13, but this is larger than 0, so it creates a stock.move, which gets rounded too late to 0.0 Closes #3346
Diffstat (limited to 'addons/analytic_user_function/analytic_user_function.py')
0 files changed, 0 insertions, 0 deletions