Odoo Help

Welcome!

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.

1

webkit_report - decimal place

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

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

1
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

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

0 follower(s)

Stats

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