← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

Public bug reported:

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

** Affects: openobject-server
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
https://bugs.launchpad.net/bugs/882057

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

Status in OpenERP Server:
  New

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


Follow ups

References