Skip to Content
Menu
This question has been flagged
1 Reply
2772 Views

Rounding the float value is not correct in odoo 10
eg: 170.415 is round to 170.41 instead of 170.42


this is happening for values 1,4,and 7


if value is 170.445 its become 170.44 instead of 170.45


if its 170.475 its become 170.47 instead of 170.48 

Avatar
Discard
Best Answer

you can refer https://github.com/odoo/odoo/blob/10.0/odoo/addons/base/tests/test_float.py#L72

Avatar
Discard
Author

how can i apply this to effect entire odoo 10 system,it seems like some test cases only?