Hello guys,
I think I have found a new error in the point of sale today.
We are in Quebec, Canada. We have 2 taxes here : TPS (5 %) and TVQ (9,975 %)
We use Odoo 8.0
Let's take an example
For an invoice with a subtotal of 4,30 $.
TPS (5 %) should be 4,3 * 0,05 = 0,215 = 0,22 $ (rounded)
TVQ (9,975 %) should be 4,3 * 0,09975 = 0,4289... = 0,43 $ (rounded)
Total of taxes = 0,22 + 0,43 = 0,65 $
Final total should be 4,3 + 0,65 = 4,95 $
But in the Odoo point of sale...
The same invoice with a subtotal of 4,30 $
Taxes are rather 0,64 $ (*&&#?$*&@#$*&?@#*&?$*?)
Final total are 4,3 + 0,64 = 4,94 $
I think the point of sale uses the one shot way to calculate the taxe in Quebec :
5 % + 9,975 % = 14,975 %
4,3 * 0,14975 = 0,6439... = 0,64 $ (rounded)
Références & links
https://github.com/odoo/odoo/issues/1515
http://www.revenuquebec.ca/fr/entreprises/taxes/tpstvhtvq/perception/calcultaxes.aspx