[FIX] account: Fix traceback when creating a new currency.
[FIX] account: Fix traceback when creating a new currency.

Introduced by:
https://github.com/odoo/odoo/commit/31e1322b40ab33bf81d4c000f2b2a3f3eb8d0958

closes odoo/odoo#45688

X-original-commit: 12b17a20586c6b3c1069879557f5a169d5d85667
Signed-off-by: oco-odoo <15533318955789ab09e4c2224ebf367eff32f177@users.noreply.github.com>

ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo