Comment 48 for bug 707923

Revision history for this message
Alexey Chechel (chechel-alexey) wrote : Re: [6.0 and 5] invoice tax - rounding issue

Hello!

We have the same problem with TAX calculation.
We use anglo saxons accounting in UK.
TAX rate is 20%.

$ python -V
Python 2.7.2

$ uname -a
Linux 2.6.38-gentoo-r6 #3 SMP x86_64 Intel(R) Xeon(R) CPU E5405 @ 2.00GHz GenuineIntel GNU/Linu

Sale Order info from Magento:
Subtotal (Excl.Tax) £498.74
Subtotal (Incl.Tax) £598.49

$ python
Python 2.7.2 (default, Sep 24 2011, 17:01:45)
[GCC 4.5.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> round(498.74*1.2,2)
598.49

it is correct value!

When we create Sale Order in OpenERP, we get incorect value for Total 598.48 :(
Look at attachments.

What can we do for solve that error?