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


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


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

Hello Jaydeep,


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


Hope this is usefull.

Thanks,

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

Very helpful, thanks :)

Câu trả lời hay nhất

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.

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

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.

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 4 25
1008
2
thg 3 25
1135
4
thg 11 24
6872
1
thg 3 24
1808
0
thg 2 24
2855