跳至内容
菜单
此问题已终结
6 回复
10990 查看

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.