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.

0

Decimal Accuracy Report Odoo

By
Vincent Monbaron
on 1/9/15, 11:34 AM 1,378 views

Hello,

How I can change tje Decimal Accuracy on the report on odoo ? The unit price is right with 2 decimal but the amount is only with 1 decimal.

But the confiugation in the menu Decimal Accuracy is right.

Subtotal and Total are false too.

Regards,

Vincent

0

Atchuthan - Technical Consultant, Sodexis Inc

--Atchuthan - Technical Consultant, Sodexis Inc--
3883
| 5 3 8
Puducherry, India
--Atchuthan - Technical Consultant, Sodexis Inc--
Passionate coder in Python/Odoo(formerly known as OpenERP).

Contact me via GMail: atchuthantu@gmail.com via Skype: atchuthan_skype
via Linkedin: http://in.linkedin.com/in/atchuthantu
Atchuthan - Technical Consultant, Sodexis Inc
On 1/12/15, 6:33 AM

In RML,
<para>[[ formatLang(o.amount_tota lor 0.0, digits=get_digits(dp='Account')) ]]</para>

In MAKO,
<td class="amount"width="6%">${formatLang(o.amount_total or 0.0,digits=get_digits(dp='Account'))}</td>

In Q-Web,
<span t-esc="formatLang(o.amount_total or 0.0, digits=get_digits(dp='Account'), currency_obj=res_company.currency_id)"/>
 

0
Open Net Sarl
On 2/19/15, 4:02 PM

You can use also   <span t-esc='"%0.2f" % o.amount_total'/>

0
Vincent Monbaron
On 1/12/15, 10:04 AM

Hello,

Thank you for your answer but I can't find this line. I use Q-Web:

<span t-field="l.price_subtotal" t-field-options="{&quot;widget&quot;: &quot;monetary&quot;, &quot;display_currency&quot;: &quot;o.currency_id&quot;}"/>

Where can I change the setting ?

atchuthan any idea ?

Vincent Monbaron
on 1/13/15, 12:45 PM

Nobody ?

Vincent Monbaron
on 1/20/15, 12:44 PM

Where I can do that ? (Open Net)

Vincent Monbaron
on 2/26/15, 11:05 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

2 follower(s)

Stats

Asked: 1/9/15, 11:34 AM
Seen: 1378 times
Last updated: 3/16/15, 8:10 AM