Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
5739 Widoki

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

Awatar
Odrzuć
Autor Najlepsza odpowiedź

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
Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
sie 25
4439
0
gru 24
9666
3
wrz 24
21917
5
gru 24
53283
4
lip 24
10768