Survey: Clean test answers ir.actions.server code if records: env['survey.user_input'].search([('survey_id', 'in', records.ids), ('test_entry', '=', 'True')]).unlink()