lp:~openerp-dev/openobject-server/trunk-float-rounding-odo

Created by Olivier Dony (Odoo) and last modified
Get this branch:
bzr branch lp:~openerp-dev/openobject-server/trunk-float-rounding-odo
Members of OpenERP R&D Team can upload to this branch. Log in for directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
OpenERP R&D Team
Project:
Odoo Server (MOVED TO GITHUB)
Status:
Merged

Recent revisions

3810. By Olivier Dony (Odoo)

[FIX] fields.float: always round floats when persisting

Added test to try a full round-trip to
the database as well to make sure the
automatic rounding is working properly.

3809. By Olivier Dony (Odoo)

[MERGE] latest trunk

3808. By Olivier Dony (Odoo)

[IMP] float_utils: simplified code, added float_repr

3807. By Olivier Dony (Odoo)

[FIX] fields.float: properly round when coercing to desired float precision

3806. By Olivier Dony (Odoo)

[IMP] float_utils: fix HALF_UP rounding according to discussions on bug 882036

Also improved test and added warning logging when
crossing the precision limit due to too many
significant digits. There is apparently a limitation
in Python's float implementation for this.

3805. By Olivier Dony (Odoo)

[IMP] float_utils: better variable names, explain /epsilon/ usage

3804. By Olivier Dony (Odoo)

[REF] float_utils: moved in its own python module

3803. By Olivier Dony (Odoo)

[MERGE] latest trunk

3802. By Olivier Dony (Odoo)

[IMP] tools.float_*: more tests with negative values, some cleanup

3801. By Olivier Dony (Odoo)

[IMP] tools.float_*: added tests and docstrings

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:openobject-server
This branch contains Public information 
Everyone can see this information.