[trunk] Account Cash (bank) Statement Missing Rounding

Bug #882057 reported by Jacques-Etienne Baudoux
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
Invalid
Undecided
Unassigned

Bug Description

balance_end_cash and balance_end are not using decimal precision and do not round the floats. Then the function _equal_balance doesn't return True.
For example:
Transactions : 9.19+24.5+18.87=52.560000000000002
Cash received : 1*50+1*2+1*0.5+1*0.05+1*0.01=52.559999999999995
(50+2+.5+.05+.01)==(9.19+24.5+18.87) = False

Revision history for this message
Ferdinand (office-chricar) wrote :

IMHO OpenERP should consider introducing BCD (binary coded decimal) for accounting purpose

As it turns out to be necessary to do coded rounding in many places I doubt that this executes faster than using BCD decimals straigth forward.

Not to count all the hassle partners have to detect and describe the problem AND to explain this to a customer.
and yes - I rant ..... as time is (lost) money

see also discussion
http://<email address hidden>/msg00424.html

Revision history for this message
Jignesh Rathod(OpenERP) (jir-openerp) wrote :
Revision history for this message
Jignesh Rathod(OpenERP) (jir-openerp) wrote :

Hello Jacques-Etienne Baudoux ,

I have checked with trunk but I did not face
problem.So would you please provide a more
information regarding this issue like video or steps.

I have attached a video for your reference.

Thanks and waiting for reply!

Changed in openobject-server:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for OpenERP Server because there has been no activity for 60 days.]

Changed in openobject-server:
status: Incomplete → Expired
Revision history for this message
Amit Parik (amit-parik) wrote :

Hello Jacques,

Would you please try with the latest updated code.

If you still face the problem then you can reopen this with more information.

Thanks.

Changed in openobject-server:
status: Expired → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.