Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
3399 มุมมอง

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