تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
8256 أدوات العرض

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.

المنشورات ذات الصلة الردود أدوات العرض النشاط
1
فبراير 16
9628
1
يوليو 25
1712
1
مايو 25
1708
1
أبريل 25
2281
1
فبراير 25
1566