[FIX] fields.float: always round floats when persisting
authorOlivier Dony <odo@openerp.com>
Wed, 21 Dec 2011 01:11:00 +0000 (02:11 +0100)
committerOlivier Dony <odo@openerp.com>
Wed, 21 Dec 2011 01:11:00 +0000 (02:11 +0100)
commite410b81cc4adba82e5619849da802ecb7b3e44ec
tree9be8fda7aa969a1534088e090bfa3f31d3953bf7
parent68e03147ff944637ffa66e0869469279005e32e8
[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.

lp bug: https://launchpad.net/bugs/882036 fixed

bzr revid: odo@openerp.com-20111221011100-gybt9pjdfpg4wc86
openerp/addons/base/test/base_test.yml
openerp/osv/fields.py