تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
3363 أدوات العرض

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