Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
8255 Visualizzazioni

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
Abbandona
Risposta migliore

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

Avatar
Abbandona
Autore

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.

Post correlati Risposte Visualizzazioni Attività
1
feb 16
9628
1
lug 25
1712
1
mag 25
1708
1
apr 25
2281
1
feb 25
1566