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