Se rendre au contenu
Menu
Cette question a été signalée
Hello,
I have created a 'custom' print for hr.expense named expense card.
everything is alright expect for:
total_amount

When printing "total_amount" field, the value appear as  [500Â 000,0000Â د.أ] where it should be [500,000.0000د.أ].


French alphabet

When using {t-out="o.currency_id.amount_to_text(o.amount_total)} to get the amount in text, the currency unit at the end of the generated string is in English even when the language of the user is French.

As the client is mainly using French, i have changed the currency unit from Dirham to Dirham émirati. The string will print the amount right, but when it comes to the currency unit at the end of the string, the 'latin' alphabet 'é' will be replaced with 'é'.

ex: Cinq Cent Mille Dirham émirati.

note: The report is created inside odoo, not using a custom module. 

Avatar
Ignorer
Publications associées Réponses Vues Activité
3
mai 21
10461
2
déc. 20
2504
0
mars 15
3407
0
mars 15
5124
1
mars 15
3685