Odoo Help

0

Decimal Precision Per Currency

By
Riadh KAABI
on 5/15/16, 10:15 AM 563 views

Hello,

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


1

Bejaoui Souheil

--Bejaoui Souheil--
883
| 2 1 4
Rennes, France
--Bejaoui Souheil--

Odoo developer,  functional and technical consultant

souheil_bejaoui@hotmail.fr

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

Hi,

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€

 

0
Riadh KAABI
On 5/16/16, 8:30 AM

Hello,

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

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.

Register

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)

Stats

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