Invoice line subtotal rounding issue
Bug #977300 reported by
Paulius Sladkevičius @ hbee
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
Low
|
OpenERP R&D Addons Team 3 | |||
Therp Backports (Deprecated) | Status tracked in Addons-6.1 | |||||
Addons-6.1 |
Fix Released
|
Undecided
|
Ronald Portier (Therp) |
Bug Description
I have faced rounding issue with quantity 2.5 and price 4.83.
[RESULT OBSERVED]
2.5 x 4.83 = 12.07
[RESULT EXPECTED]
2.5 x 4.83 = 12.08
I found that issue came from the account compute_all() method http://
And from here comes, why in the other accounting parts float_round() is not used instead round()?
Related branches
lp://staging/~openerp-dev/openobject-addons/trunk-bug-977300-rmu
- Amit Parik (community): Approve
-
Diff: 20 lines (+2/-1)1 file modifiedaccount/account.py (+2/-1)
lp://staging/~therp-nl/therp-backports/addons-6.1_lp882036_account_rounding
- Stefan Rijnhart (Opener) (community): Approve
-
Diff: 20 lines (+2/-1)1 file modifiedaccount/account.py (+2/-1)
lp://staging/~credativ/openobject-addons/6.1-lp977300-Invoice_line_subtotal_rounding_issue
- Craig Gowing (credativ): Approve
-
Diff: 20 lines (+2/-1)1 file modifiedaccount/account.py (+2/-1)
To post a comment you must log in.
Here is simple patch.