Odoo Help

4

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

By
Josh Stover
on 5/20/13, 4:06 PM 1,439 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.

Thanks!

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

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

2 follower(s)

Stats

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