[FIX] account_financial_report: show currency name instead of dictionary

Steps:

 - Accounting > Reporting > OCA accounting reports > Journal Ledger
 - Select Date range and activate Foreign Currency

Get "{'name': 'EUR'} " in currency field

Desired: get EUR
This commit is contained in:
eLBati
2024-03-04 17:03:16 +01:00
committed by chaule97
parent 20244734b4
commit e00e8f8312

View File

@@ -302,7 +302,9 @@
<t t-if="display_currency">
<div class="act_as_cell" name="currency_name">
<t t-if="move_line['currency_id']">
<span t-esc="currency_ids_data.get(move_line['currency_id'], '')" />
<span
t-esc="currency_ids_data.get(move_line['currency_id'], '').get('name', '')"
/>
</t>
</div>
<div class="act_as_cell amount" name="amount_currency">