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

I use the widget monetary in Qweb like this:

<span t-field="sale_order.amount_untaxed" t-field-options='{"widget": "monetary", "display_currency": "sale_order.company_id.currency_id"}'/>

But the output uses dot instead of coma as decimal point that my l18n settings are asking for.


100.50 € instead of 100,50 €



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

You go to Settings/Translations/Language, select sale order partner language  and verify separators settings. 

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

Thank you! The error seems to be in the language-settings (es_ES) there decimal point are "." instead of ",". I thougt it was the widget that not touched the decimal point.

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 2 16
9637
1
thg 7 25
1726
1
thg 5 25
1733
1
thg 4 25
2294
1
thg 2 25
1575