Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
3 Replies
24730 Tampilan


Display the currency symbol before the subtotal value on Quotation report using qweb view.

using with widget "<span t-field="l.price_subtotal" t-field-options="{&quot;widget&quot;: &quot;monetary&quot;, &quot;display_currency&quot;: &quot;o.pricelist_id.currency_id&quot;}"/>"


Avatar
Buang
Jawaban Terbai

Hello Jaydeep,


Try this <span t-field="o.currency_id.symbol" /><span t-field="l.price_subtotal" />


Hope this is usefull.

Thanks,

Avatar
Buang

Very helpful, thanks :)

Jawaban Terbai

Hi Jaydeep,

to print currency symbol before the subtotal you need to do one configuration. 

Invoices => Configuration => Miscellaneous=> Currencies. In this form you need to select "Symbol Position" (After Amount/Before Amount). According your configuration system will display that symbol.

I hope you will get what you want.

Avatar
Buang
Penulis

Hi Emipro, I have to print the currency symbol in report before the amount. I accept your suggestion but their affect to display the currency symbol before the amount in view side. On view side display currency symbol after the amount.

Post Terkait Replies Tampilan Aktivitas
1
Apr 25
1176
2
Mar 25
1289
4
Nov 24
7040
1
Mar 24
1955
0
Feb 24
2975