Files

22 lines
870 B
Python
Raw Permalink Normal View History

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