Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
5751 Zobrazení

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

Avatar
Zrušit
Autor Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
srp 25
4563
0
pro 24
9701
3
zář 24
21979
5
pro 24
53388
4
čvc 24
10822