Odoo Help


This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Decimal Precision Per Currency

on 5/15/16, 10:15 AM 335 views


is it possible to attribute decimal precion per currency in odoo 8?

In my case, in multi-currency configuration, i use 2 currency EUR (2 digits)  and   TND ( 3 digits); in quotation form decimal precision must change when user select  currency. exemple 10.235 TND become 10.23€

Thank you for your help

Bejaoui Souheil
On 5/16/16, 6:29 AM


This behavior is not possible in odoo. But you can set Rounding Factor for TND to 0.001000 and 0.010000 for the EUR.

In this case the system will display 10.235 TND, 10.230€


On 5/16/16, 8:30 AM


Thank you for the answer,

 it's exactly what i have done temporarily , but is not clean to see i amount in € with 3 digits in form and report

Thanks for your help

In this case you may need to override the method precision_get in addons/decimal_precision/decimal_precision.py and try to give more criteria to the select sentence.

Bejaoui Souheil
on 5/17/16, 6:38 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)


Asked: 5/15/16, 10:15 AM
Seen: 335 times
Last updated: 5/16/16, 8:30 AM