Trying to print or send an invoice using a foreign currency leads to a traceback while generating the PDF. Steps to reproduce: - Install l10n_ar and step into the AR company; - Create a new invoice using a foreign currency (e.g. USD); - Confirm the invoice; - Try to Send/Print the invoice. This is also the case with l10n_cl. opw-3477108 closes odoo/odoo#134612 X-original-commit: 9578fa9854a000a58ca6ffbdf144104d6a99c56d Signed-off-by: Cedric Snauwaert <csn@odoo.com> Signed-off-by: Corentin Thaon (thco) <thco@odoo.com>