# from odoo import http # class ProjectInherit(http.Controller): # @http.route('/project_inherit/project_inherit', auth='public') # def index(self, **kw): # return "Hello, world" # @http.route('/project_inherit/project_inherit/objects', auth='public') # def list(self, **kw): # return http.request.render('project_inherit.listing', { # 'root': '/project_inherit/project_inherit', # 'objects': http.request.env['project_inherit.project_inherit'].search([]), # }) # @http.route('/project_inherit/project_inherit/objects/', auth='public') # def object(self, obj, **kw): # return http.request.render('project_inherit.object', { # 'object': obj # })