Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
8387 Näkymät

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 €



Avatar
Hylkää
Paras vastaus

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

Avatar
Hylkää
Tekijä

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.

Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
1
helmik. 16
9814
1
heinäk. 25
2030
1
toukok. 25
2242
1
huhtik. 25
2525
1
helmik. 25
1811