[FIX] models: don't call name_get on falsy records
[FIX] models: don't call name_get on falsy records

The call of the name_get on records with falsy ids was unnecessary
as it wasn't used afterwards and could lead to errors if a name_get
doesn't handle falsy records.

solves https://github.com/odoo/odoo/pull/16244

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