İçereği Atla
Menü
Bu soru işaretlendi
6 Cevaplar
10978 Görünümler

I need to remove the currency symbol on the pdf invoice (print action). Right now it's $.

The symbol is gone from the invoice page when I changed the default currency. But it still appear on the pdf. 

I changed the default currency, removed USD, look in the technical features, and went through many setting to look for it to no avail.

 Helppp

Avatar
Vazgeç
En İyi Yanıt

in odoo 12, you can directly change the display of currency (in currency setting) once activate the developer mode.  


Avatar
Vazgeç
Üretici En İyi Yanıt

Ok I found how to do it.

You need to install accounting module, activate multiple currency and then go to sales - setting - pricelist.

Add the desirable currency.

From there on, currency can be changed on the quotation page.

Avatar
Vazgeç
En İyi Yanıt

Hi Noris,

To remove currency symbol remove

t-field-options='{"widget": "monetary", "display_currency": "o.currency_id"}'

And now about default currency you are changing but its not affecting in invoice report.

that is just because invoice report is loading from "Attachment"

for that do following steps:

Go to Setting > Technical > Reports > Reports 

Open Invoice report.

And Unchecked "Reload from Attachment" if it is Checked.

I hope its helps you.

Avatar
Vazgeç
Üretici

Hi Divyang, thanks for replying.

I am on Odoo saas. Where can I change the t-field-options='{"widget": "monetary", "display_currency": "o.currency_id"}' ?

En İyi Yanıt

Hi Noris, the simple fast solution is to modify it directly on the DB, go to your DB ==>res_currency and change it manually, refresh you application, and everything is gonna be well.

Avatar
Vazgeç

Very bad advise. Do not manipulate the database directly.