refering to: http://groups.google.com/group/tryton/browse_thread/thread/7722292e1bf3a579 This patch provides the solution I mentioned in the second usecase, which ...
14 years, 10 months ago
(2009-06-15 06:16:02 UTC)
#2
refering to:
http://groups.google.com/group/tryton/browse_thread/thread/7722292e1bf3a579
This patch provides the solution I mentioned in the second usecase, which is
wrong too, AFAIK.
Here you do the rounding before the end of calculation, which is not right
AFAIK. When calculating with different precisions you need to preserve all
significant decimal places in the calculation and round one time in the end of
calculation. So significant decimal place for the calculation is four (4)
because of the precision of the product prices AFAIK.
With this example the sum is ok at all, but the result of the sum is wrong.
Issue 74052: Fix rounding of tax lines in invoice
(Closed)
Created 14 years, 10 months ago by ced1
Modified 14 years, 9 months ago
Reviewers: bch_b2ck.com, udono
Base URL:
Comments: 0