Comment 42 for bug 707923

Revision history for this message
Bogdan Stanciu (bstanciu) wrote : Re: [Bug 707923] Re: [6.0 and 5] invoice tax - rounding issue

On 07. 02. 11 06:03, Sharoon Thomas http://openlabs.co.in wrote:
> Hmmm... This discussion/debate of use of float never seems to end ???
>
> If you need more references:
>
> Why the Tryton (http://tryton.org a fork of OpenERP) decided to use
> decimals: https://lists.launchpad.net/openerp-expert-
> accounting/msg00070.html
>
> Why Fabien/OpenERP SA considers Float as the solution:
> https://lists.launchpad.net/openerp-expert-accounting/msg00067.html
>
> The solution IMHO is to use Decimals which avoids all the nonsense of
> rounding (of course at the cost of performance, which could be improved
> 12x by use of cDecimal http://www.mail-archive.com/tryton-
> <email address hidden>/msg01347.html).
>
> Quoting one of my friends in the OpenERP community "We have uml
> designer, view designer, report desinger, fancy dashboards but can't do
> a single sum(debit) :)"
>
Sharoon,

Unfortunately using decimals does not change anything for this matter.
Because your documents ARE using decimals (dp = 3 means 3 decimals and
so on).

b