Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
6 Trả lời
10903 Lượt xem

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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


Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhấ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.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhấ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.

Ảnh đại diện
Huỷ bỏ
Tác giả

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

Câu trả lời hay nhấ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.

Ảnh đại diện
Huỷ bỏ

Very bad advise. Do not manipulate the database directly.