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.


What is the syntax to round numbers in the email templates?

Josh Stover
on 5/20/13, 4:06 PM 1,161 views

For sales orders, purchase orders, and invoice emails the total amount doesn't round to 2 digits each time like it should. We are sending invoices that indicate a dollar value of $1,000.1 is owed for instance instead of $1,000.10 which would be the proper format.

What is the appropriate syntax to edit these templates to get the rounding correct? I've set up the decimal accuracy already but that doesn't fix this. I've tried round() and formatLang() inside the {$ } but that isn't working.


I have this same issue - anyone figure out how to get the 2 decimal places to show? It shows correctly in the actual invoice but not in the email template... Thanks!

Helen Hoffman
on 10/29/13, 9:06 AM

I have this same issue, also in official screen shots.

Metrolux Gmbh, Andreas Marpmann
on 4/7/14, 6:10 PM

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

2 follower(s)


Asked: 5/20/13, 4:06 PM
Seen: 1161 times
Last updated: 3/16/15, 8:10 AM