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