[FIX] account: fix undefined variable type
[FIX] account: fix undefined variable type

Commit 82e1aed split a method in two methods and the field type was not copied

Closes #27159

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