summaryrefslogtreecommitdiff
path: root/addons/analytic_user_function
diff options
context:
space:
mode:
authorCedric Snauwaert <csn@openerp.com>2014-09-23 17:39:14 +0200
committerOlivier Dony <odo@openerp.com>2014-09-24 17:11:25 +0200
commitd4972ffdb6b9356a524eef1dbc11f455ff4473f2 (patch)
tree157ec0170efdd29fb0da369dcaf2a32a8673f762 /addons/analytic_user_function
parent1933e926ff7457b6f116296190ec55eb908de9b3 (diff)
[FIX] product,float_utils: perform ceiling via float_round with new rounding_method UP
Modified product ceiling() to use float_round() with special mode for rounding UP (away from zero), avoiding pathological cases where float representations errors were ceiling to the superior unit. Also added correspding tests for rounding_method=UP Fixes issue #1125, and replaces PR #1126.
Diffstat (limited to 'addons/analytic_user_function')
0 files changed, 0 insertions, 0 deletions