For instance:Â 0.09975 which should be 9.975% in Quebec, but currently rounds to 9.98, causing calculations to be off.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- Müşteri İlişkileri Yönetimi
- e-Commerce
- Muhasebe
- Envanter
- PoS
- Project
- MRP
Bu soru işaretlendi
1
Cevapla
5766
Görünümler
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
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Üye Olİlgili Gönderiler | Cevaplar | Görünümler | Aktivite | |
---|---|---|---|---|
|
1
Ağu 25
|
4677 | ||
|
0
Ara 24
|
9729 | ||
|
3
Eyl 24
|
22031 | ||
|
5
Ara 24
|
53488 | ||
|
4
Tem 24
|
10871 |