add app_saas todo: 与 social_login 一起时有 bug

This commit is contained in:
Ivan Office
2024-12-06 20:24:16 +08:00
parent 99d3c80d59
commit 3bdfb6d7f4
40 changed files with 794 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
# -*- coding: utf-8 -*-
#
# from odoo import http
# from odoo.addons.portal.controllers.portal import CustomerPortal
#
#
# class appCustomerPortal(CustomerPortal):
#
# # Controler sample
# @http.route('/my/webclient/locale/<string:lang>', type='http', auth="none")
# def index(self, **kw):
# return "Hello, world"
#
# @http.route('/default/default/objects/', auth='public')
# def list(self, **kw):
# return http.request.render('default.listing', {
# 'root': '/default/default',
# 'objects': http.request.env['default.default'].search([]),
# })
#
# @http.route('/default/default/objects/<model("default.default"):obj>/', auth='public')
# def object(self, obj, **kw):
# return http.request.render('default.object', {
# 'object': obj
# })