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


 

Hello all,

In an email template, we have this code : 

     Order total : ${object.amount_total} $ ${object.pricelist_id.currency_id.name}


One of our sale order has a total amount of 6,90 $ CAD.

For the moment, the email template returns 6.9 $ CAD.

 

How could we change the dot for a comma and add one more zero to the price?

Thanks to help


UPDATE #1

Here is my actual setup that doesn't work in email template.


UPDATE #2

A discussion is started here :

https://github.com/odoo/odoo/issues/9941#issuecomment-245900710

But we still don't find a solution.

الصورة الرمزية
إهمال
الكاتب

I search and I search the web. Impossible to find a solution!

الكاتب

Little up here!!!! Somebody would have a solution?

أفضل إجابة

hi

The setup of the separator is located under: Settings > Translations > Languages

or Follow the link

https://www.odoo.com/es_ES/forum/help-1/question/how-to-define-the-thousands-separator-88 


الصورة الرمزية
إهمال
الكاتب

I don't think you are right. More, in the link you give to me, it is written 2 or 3 times that this language setup doesn't work with email templates.

المنشورات ذات الصلة الردود أدوات العرض النشاط
2
يناير 24
4257
2
يناير 24
9939
1
مارس 21
9491
0
يناير 19
7090
1
مارس 15
6845