# -*- coding: utf-8 -*-
# from odoo import http


# class FleetAdvancedReports(http.Controller):
#     @http.route('/fleet_advanced_reports/fleet_advanced_reports', auth='public')
#     def index(self, **kw):
#         return "Hello, world"

#     @http.route('/fleet_advanced_reports/fleet_advanced_reports/objects', auth='public')
#     def list(self, **kw):
#         return http.request.render('fleet_advanced_reports.listing', {
#             'root': '/fleet_advanced_reports/fleet_advanced_reports',
#             'objects': http.request.env['fleet_advanced_reports.fleet_advanced_reports'].search([]),
#         })

#     @http.route('/fleet_advanced_reports/fleet_advanced_reports/objects/<model("fleet_advanced_reports.fleet_advanced_reports"):obj>', auth='public')
#     def object(self, obj, **kw):
#         return http.request.render('fleet_advanced_reports.object', {
#             'object': obj
#         })
