Odoo Help


[SOLVED]How to remove currency symbol from Monetary field qweb report ?

Jaydeep Barot (jar)
on 3/1/16, 1:57 AM 2,319 views

See image for better idea.

<span t-field="o.amount_total"/> 

Image is not display here so I have putted shareable link.

see link: https://drive.google.com/file/d/0B763E4hoUk59QjI0S0pqMG5CakE/view?usp=sharing


Jusab Sida (jsi)

--Jusab Sida (jsi)--
| 2 1 5
Gandhinagar, India
--Jusab Sida (jsi)--

Jusab Sida (jsi)
On 3/1/16, 7:40 AM

Hello Jaydeep bhai...

I have done same thing in sale order report with monetary field.

<span t-field="doc.amount_total" t-field-options="{&quot;widget&quot;: &quot;False&quot;}"/>

Hope this will help you...

On 3/1/16, 4:56 AM

Try this,

<span t-esc="float(o.amount_total)"/>

Hello CatsandDogs, Is it possible through ?

Jaydeep Barot (jar)
on 3/1/16, 5:04 AM

<span t-field="o.amount_total"/>

Jaydeep Barot (jar)
on 3/1/16, 5:05 AM

I think, is not possible way to achieve that

on 3/1/16, 5:18 AM
On 3/1/16, 6:47 AM

Try, this one

In .py

_columns = {
    'amount' : fields.float("amount", digits_compute=dp.get_precision('Account'))
    'company_id': fields.many2one('res.company', 'Company', required=True),
    'company_currency_id': fields.related('company_id','currency_id',type="many2one",
         relation="res.currency",string="Company Currency",readonly=True,store=True),

In .xml,

<field name="company_currency_id" invisible="1"/>
<field name="amount" widget="monetary" options="{'currency_field': 'company_currency_id'}"/>


Jaydeep Barot (jar)
on 3/1/16, 6:56 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 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

1 follower(s)


Asked: 3/1/16, 1:57 AM
Seen: 2319 times
Last updated: 4/28/16, 5:06 AM