first push message
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
# from odoo import http
|
||||
|
||||
|
||||
# class CustomStyleForm(http.Controller):
|
||||
# @http.route('/custom_style_form/custom_style_form', auth='public')
|
||||
# def index(self, **kw):
|
||||
# return "Hello, world"
|
||||
|
||||
# @http.route('/custom_style_form/custom_style_form/objects', auth='public')
|
||||
# def list(self, **kw):
|
||||
# return http.request.render('custom_style_form.listing', {
|
||||
# 'root': '/custom_style_form/custom_style_form',
|
||||
# 'objects': http.request.env['custom_style_form.custom_style_form'].search([]),
|
||||
# })
|
||||
|
||||
# @http.route('/custom_style_form/custom_style_form/objects/<model("custom_style_form.custom_style_form"):obj>', auth='public')
|
||||
# def object(self, obj, **kw):
|
||||
# return http.request.render('custom_style_form.object', {
|
||||
# 'object': obj
|
||||
# })
|
||||
|
||||
Reference in New Issue
Block a user