跳至内容
菜单
此问题已终结
2 回复
3367 查看

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

形象
丢弃

Where you want apply rounding mechanism?

编写者

I need to apply this when calculating taxes.

最佳答案

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

形象
丢弃
编写者

thank you

最佳答案

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.

形象
丢弃
编写者

thank you