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


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

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

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

