Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
3 ตอบกลับ
24787 มุมมอง


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;}"/>"


อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hello Jaydeep,


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


Hope this is usefull.

Thanks,

อวตาร
ละทิ้ง

Very helpful, thanks :)

คำตอบที่ดีที่สุด

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.

อวตาร
ละทิ้ง
ผู้เขียน

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.

Related Posts ตอบกลับ มุมมอง กิจกรรม
1
เม.ย. 25
1203
2
มี.ค. 25
1340
4
พ.ย. 24
7063
1
มี.ค. 24
1981
0
ก.พ. 24
2995