The proposal to merge lp:~openerp-dev/openobject-server/trunk-float-rounding-odo into lp:openobject-server has been updated.
Description changed to: - Extracted res.currency's float computation methods to tools, so they can be reused cleanly for other floating-point operations. - Also added a compare() method to allow for easy comparison of 2 float values, as suggested by Ferdinand on bug 865387 - Added tests and docstrings to explain the logic. Watch out for compare(), because compare(amount1-amount2) == 0 is NOT the same as is_zero(amount1-amount2), this is explained in the docstrings and test. I think this is correct and the desired behavior. The utility methods used in the YAML tests take redundant arguments due to idiotic namespace issues, feel free to suggest alternatives. For more details, see: https://code.launchpad.net/~openerp-dev/openobject-server/trunk-float-rounding-odo/+merge/82206 -- https://code.launchpad.net/~openerp-dev/openobject-server/trunk-float-rounding-odo/+merge/82206 Your team OpenERP R&D Team is subscribed to branch lp:~openerp-dev/openobject-server/trunk-float-rounding-odo. _______________________________________________ Mailing list: https://launchpad.net/~openerp-dev-gtk Post to : [email protected] Unsubscribe : https://launchpad.net/~openerp-dev-gtk More help : https://help.launchpad.net/ListHelp

