Failed to install demo data for some modules, demo disabled code failures = env['ir.demo_failure'].search([ ('wizard_id', '=', False), ]) record = model.create({ 'failure_ids': [Command.set(failures.ids)], }) action = { 'type': 'ir.actions.act_window', 'res_id': record.id, 'res_model': 'ir.demo_failure.wizard', 'target': 'new', 'views': [(env.ref('base.demo_failures_dialog').id, 'form')], } Demo Failure Dialog ir.demo_failure.wizard

The demonstration data of module(s) failed to install and were disabled

Demo Failure Form ir.demo_failure
Demo Failure Notification 1 done