odoo/odoo#163482
Created by fw-bot
- label
- odoo-dev:saas-17.1-17.0-opw-3767010-accounting_dashboard-taqu-qmjT-fw
- head
- 80822952fbeecf746470ac32ca81064eceb4623d
- target
- saas-17.1
- merged
- 3 weeks ago by Accounting, Florian Gilbert (flg)
- forward-port of
- odoo/odoo#156655
[FW][FIX] account: hide misc amount in case of different currencies
Steps:
------
1. Have accounting installed.
2. Have a bank journal with a currency different from company's currency,
use a bank account with no currency set for this bank journal.
3. Make a misc operation in the bank account used by the journal.
4. On the dashboard, the "Misc. Operations" amount will not be converted
to the journal's currency, even though the currency's symbol is correct,
the amount is in the company's currency.
Fix
---
Do not show the total amount of misc operations if the bank journal and
bank journal's bank account currencies are not matching. The user still
knows there are journal entries not linked to a bank transaction thanks
to the "misc operations" text, but we avoid doing a currency conversion
that may not make sense.
**opw-3767010**
Forward-Port-Of: odoo/odoo#156655