Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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 closes #163498 X-original-commit: 629f292 Signed-off-by: Florian Gilbert (flg) <flg@odoo.com>
- Loading branch information