When user tries to quick create a field where model is not specified, the error will occur. Steps to reproduce: 1. Turn on developer mode. 2. Go to Settings > Technical > Fields Selection. 3. Create a new record and quick create a field. Traceback will be generated. Applying this commit will fix this issue. sentry-3956146718 closes odoo/odoo#124442 X-original-commit: 9e64211eb4398b25c57d73bc5a92eda88d314bd1 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>