The co-model field in `IrField` view is accepting Related Model name even if it is invalid. And replaces the invalid model name with `_unknown`. This causes KeyError `display_name` when trying to create or read a record. To fix that we are adding Validations for the Related Model field when it gets updated from UI side. sentry-3933471439 closes odoo/odoo#118052 X-original-commit: e4f7798fd5a5cccd5d385f535fbc21264cb6948b Signed-off-by: Rémy Voet <ryv@odoo.com>