Odoo Help


Decimal Precision Per Currency

on 5/15/16, 10:15 AM 523 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

--Bejaoui Souheil--
| 2 1 4
Sousse, Tunisia
--Bejaoui Souheil--

Odoo developer,  functional and technical consultant


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 platform 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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


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