Files

22 lines
825 B
Python
Raw Permalink Normal View History

2026-07-01 14:41:49 +07:00
# from odoo import http
# class SurveyXlsReport(http.Controller):
# @http.route('/survey_xls_report/survey_xls_report', auth='public')
# def index(self, **kw):
# return "Hello, world"
# @http.route('/survey_xls_report/survey_xls_report/objects', auth='public')
# def list(self, **kw):
# return http.request.render('survey_xls_report.listing', {
# 'root': '/survey_xls_report/survey_xls_report',
# 'objects': http.request.env['survey_xls_report.survey_xls_report'].search([]),
# })
# @http.route('/survey_xls_report/survey_xls_report/objects/<model("survey_xls_report.survey_xls_report"):obj>', auth='public')
# def object(self, obj, **kw):
# return http.request.render('survey_xls_report.object', {
# 'object': obj
# })