Comment 2 for bug 710334

Revision history for this message
filsys (office-filsystem) wrote :

Yes, in point_of_sale.py is a rounding issue.
But, in my opinion, price/tax calculation is a method issue.
Please consider that if I set a price for product P1 at 124 EUR with tax included and if I sell 1 unit, then on invoice and on pos receipt the customer need to read total including tax= 124, whatever tax.
The method for tax calculation for price with tax included is:
'tax' = 'price with tax' * 'tax%' / (100+'tax%')
and 'price without tax' = 'price with tax' - 'tax'.
The method for tax calculation for price without tax included is:
'tax' = 'price without tax' * 'tax%' / 100
and 'price with tax' = 'price without tax' + 'tax'.
I think that this discution is open also in another post but I don't remember where.
Thanks.