Odoo Help


webkit_report - decimal place

Torsten Francke
on 8/29/13, 11:22 AM 1,589 views

Can i change the number of decimal place printed in a webkit report? Someone know how to?

Paul Catinean
On 9/18/13, 8:57 AM

Greetings Markus,

Usually the number of decimals displayed in the webkit report is the one you have set in OpenERP at (Settings->Database Structure->Decimal Precision) and picking the Unit of Sale or which one you need

You can also try using ${formatLang(object)} or as a last case scenario you can do ${str(number)[:2]} and the more you add to the 2 the more decimals it will show

Hope this helps you Markus, have a great day!

thx using ${ str()} save the problem, we have used ${formatLang()} in the first place

initOS GmbH, Torsten Francke
on 9/18/13, 10:13 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.


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

0 follower(s)


Asked: 8/29/13, 11:22 AM
Seen: 1589 times
Last updated: 9/17/15, 4:22 AM