Current behaviour: Traceback when trying to create a new external identifier Steps to reproduce: 1. Activate the developer mode 2. Go to settings 3. Technical > External Identifiers 4. Click on "New" 5. Traceback Cause of the issue: Introduced by https://github.com/odoo/odoo/commit/3c62ca1eb96d571b2b686b5caee370324c589ab4 When computing display_name, the model can be false, and not be in self.env opw-3489581 closes odoo/odoo#136279 X-original-commit: 2462df26977acc9e3ccafd57863703aacd2f059e Signed-off-by: Rémy Voet (ryv) <ryv@odoo.com> Co-authored-by: Rémy Voet <ryv@odoo.com>