تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
6 الردود
11018 أدوات العرض

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

الصورة الرمزية
إهمال
أفضل إجابة

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


الصورة الرمزية
إهمال
الكاتب أفضل إجابة

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.

الصورة الرمزية
إهمال
أفضل إجابة

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.

الصورة الرمزية
إهمال
الكاتب

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"}' ?

أفضل إجابة

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.

الصورة الرمزية
إهمال

Very bad advise. Do not manipulate the database directly.