Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
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
Buang
Post Terkait Replies Tampilan Aktivitas
3
Mei 21
10454
2
Des 20
2501
0
Mar 15
3405
0
Mar 15
5120
1
Mar 15
3682