diff options
| author | Cedric Snauwaert <csn@openerp.com> | 2014-09-23 17:39:14 +0200 |
|---|---|---|
| committer | Olivier Dony <odo@openerp.com> | 2014-09-24 17:11:25 +0200 |
| commit | d4972ffdb6b9356a524eef1dbc11f455ff4473f2 (patch) | |
| tree | 157ec0170efdd29fb0da369dcaf2a32a8673f762 /addons/analytic_user_function | |
| parent | 1933e926ff7457b6f116296190ec55eb908de9b3 (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
