'Remove empty user inputs that have been created manually
(used as a cronjob declared in data/survey_cron.xml)'

@api.model
def do_clean_emptys(self):

    an_hour_ago = fields.Datetime.to_string((datetime.datetime.now() - datetime.timedelta(hours=1)))
    self.search([('type', '=', 'manually'), ('state', '=', 'new'), ('date_create', '<', an_hour_ago)]).unlink()
