Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
3 Risposte
24745 Visualizzazioni


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
Abbandona
Risposta migliore

Hello Jaydeep,


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


Hope this is usefull.

Thanks,

Avatar
Abbandona

Very helpful, thanks :)

Risposta migliore

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
Abbandona
Autore

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 correlati Risposte Visualizzazioni Attività
1
apr 25
1178
2
mar 25
1313
4
nov 24
7044
1
mar 24
1958
0
feb 24
2975