Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
3360 Visualizzazioni

How can I change the rounding mechanism? Is it possible?

Avatar
Abbandona

Where you want apply rounding mechanism?

Autore

I need to apply this when calculating taxes.

Risposta migliore

Go to Settings-> Technical-> Database settings -> Decimal Accuracy, choose desired usage and set the acuracy...

Is you do not see that menu.. chech Acces rights of current user, and make sure that Techical features is turned on... hope it helps

Avatar
Abbandona
Autore

thank you

Risposta migliore

Hi,

You can change the rounding off for tax from "def compute" method of "account_invoice_tax" object in account_invoice.py file. And in method "_amount_all" of sale.order/purchase.order of file sale.py/purchase.py

Hope this may help you.

Avatar
Abbandona
Autore

thank you