Skip to Content
Menú
This question has been flagged
1 Respondre
5725 Vistes

For instance: 0.09975 which should be 9.975% in Quebec, but currently rounds to 9.98, causing calculations to be off.

Avatar
Descartar
Autor Best Answer

In order to avoid the annoying decimal rounding, open the tax in form view. In the Tax Definition tab, Tax Computation section, set the Tax Type to Python Code.

Following the example aboe, in the Python Code field, enter:

result = price_unit * 0.09975

And in the Python Code (reverse) field:

result = price_unit / 0.09975
Avatar
Descartar
Related Posts Respostes Vistes Activitat
0
de des. 24
9594
3
de set. 24
21853
5
de des. 24
53160
4
de jul. 24
10670
7
d’ag. 23
11091