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