update_ = request.env['crm.lead'].sudo().search([('id', '=', 111)]) update_.update({'appointment_datetime': datetime.strptime(datetime_converted, "%m/%d/%Y %H:%M")})