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

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 €



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

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

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

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.

Related Posts ตอบกลับ มุมมอง กิจกรรม
1
ก.พ. 16
9634
1
ก.ค. 25
1725
1
พ.ค. 25
1729
QWeb: use t-if to check birthday date แก้ไขแล้ว
1
เม.ย. 25
2293
1
ก.พ. 25
1575