Before this commit, opening a misc journal entry resulted in an error because we tried to compute the tax totals as if it was an invoice. This commit ignores the computation of these tax totals in case we have a misc journaly entry. opw-2946634 closes odoo/odoo#97600 Signed-off-by: Florian Gilbert (flg) <flg@odoo.com>