← Back to team overview

openerp-india team mailing list archive

[Bug 882057] Re: [trunk] Account Cash (bank) Statement Missing Rounding

 

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

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/882057

Title:
  [trunk] Account Cash (bank) Statement Missing Rounding

Status in OpenERP Server:
  Invalid

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/882057/+subscriptions


References