[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:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user