Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
5755 Tampilan

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

Avatar
Buang
Penulis Jawaban Terbai

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
Buang
Post Terkait Replies Tampilan Aktivitas
1
Agu 25
4584
0
Des 24
9708
3
Sep 24
21999
5
Des 24
53420
4
Jul 24
10841